You can set your software to automatically ignore a bothersome user. For example, if another user is being offensive, you can block all of their messages with the /ignore command
/ignore stupiduser5
Any message the user sends to you will then be blocked by the IRC server.