muzaffar
-
2002-12-09
- priority: 5 --> 7
- assigned_to: nobody --> s-a-t-a-n
- summary: ircresponder.cpp cause infinite loop --> ircresponder.cpp causes infinite loop
IrcResponder.cpp contains code for handling IRC
messages. When the nick of j-alice is typed in the
middle or at the end of the message, the code tries to
eliminate the nickname from it and pass to the AIML
processor by finding the nickname, dividing the string
into m_head and m_tail. While it should concatenate
m_head and m_tail it also adds botname in the middle
thus causing an infinte loop.
Apply this patch and recompile in order to fix it.