Update IrcBot.cpp

Refactor charSearch function