diff options
Diffstat (limited to 'src/mode.cpp')
-rw-r--r-- | src/mode.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index bddd6cc31..13bfe234b 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -734,7 +734,8 @@ std::string ModeParser::ModeString(userrec* user, chanrec* channel) { ModePair ret; ret = mh->ModeSet(NULL, user, channel, user->nick); - if (ret.first) + ServerInstance->Log(DEBUG,"first='%d' second='%s'",ret.first,ret.second.c_str()); + if ((ret.first) && (ret.second == user->nick)) { pars.append(" "); pars.append(user->nick); |