From 13f2f363bd9a3493030a6008774deb7bf4ef6e96 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 10 Jul 2006 15:32:20 +0000 Subject: - 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 --- src/mode.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; -- cgit v1.2.3