diff options
Diffstat (limited to 'src/modules/m_spanningtree/privmsg.cpp')
-rw-r--r-- | src/modules/m_spanningtree/privmsg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/privmsg.cpp b/src/modules/m_spanningtree/privmsg.cpp index 4a266a465..316ad2e5c 100644 --- a/src/modules/m_spanningtree/privmsg.cpp +++ b/src/modules/m_spanningtree/privmsg.cpp @@ -32,7 +32,7 @@ bool TreeSocket::ServerMessage(const std::string &messagetype, const std::string const char* target = params[0].c_str(); std::string text = params[1].c_str(); - if ((*target == '@') || (*target == '%') || (*target == '+')) + if (Instance->Modes->FindPrefix(*target)) { status = *target; target++; |