summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-10 15:32:20 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-10 15:32:20 +0000
commit13f2f363bd9a3493030a6008774deb7bf4ef6e96 (patch)
treeeb6ba776ae4603c4e4b74af030b02d9cceba8a3b
parent2816a3ff87c3c15848dfe7f71391a454992ecefe (diff)
- Add notice masks display to MODE nick, using a modified version of Unreal's 008 (no stupid formatting, display it like 221)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4275 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/mode.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 18580a21e..791d0f897 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -246,8 +246,10 @@ void ModeParser::DisplayCurrentModes(userrec *user, userrec* targetuser, chanrec
{
/* Display user's current mode string */
WriteServ(user->fd,"221 %s :+%s",targetuser->nick,targetuser->FormatModes());
+ WriteServ(user->fd, "008 %s :+%s", targetuser->nick, targetuser->FormatNoticeMasks());
return;
}
+
/* No such nick/channel */
WriteServ(user->fd,"401 %s %s :No such nick/channel",user->nick, text);
return;