From ce533b67e6c58c02f25b2f26214ab9cd2c7c99b6 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 May 2007 00:26:04 +0000 Subject: Small api change with wide reaching effects in modules - Allows modification of whats displayed by NAMES on a per-nick basis, so we can have UHNAMES in a seperate module to NAMESX (and possibly do some funky other stuff in the future too!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6934 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_privmsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd_privmsg.cpp') diff --git a/src/cmd_privmsg.cpp b/src/cmd_privmsg.cpp index 425465109..b0662cfec 100644 --- a/src/cmd_privmsg.cpp +++ b/src/cmd_privmsg.cpp @@ -64,7 +64,7 @@ CmdResult cmd_privmsg::Handle (const char** parameters, int pcnt, userrec *user) { chan = ServerInstance->FindChan(parameters[0]); - except_list[user] = user; + except_list[user] = user->nick; if (chan) { -- cgit v1.3.1-10-gc9f91