Update IrcBot.cpp

Refactor charSearch function
Merge pull request #1 from evolvePsi/master

Update IrcBot.cpp