diff options
Diffstat (limited to 'src/modules/m_helpop.cpp')
-rw-r--r-- | src/modules/m_helpop.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp index 341f2b861..fd88651c0 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -92,10 +92,8 @@ class cmd_helpop : public command_t irc::sepstream stream(value, '\n'); std::string token = "*"; - while ((token = stream.GetToken()) != "") - { + while (stream.GetToken(token)) user->WriteServ("NOTICE %s :%s", user->nick, token.c_str()); - } user->WriteServ("NOTICE %s :*** End of HELPOP", user->nick); } |