diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-29 18:14:13 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-29 18:14:13 +0000 |
commit | c2624f71e1260881610dc6109f0b3ad61ae4f31a (patch) | |
tree | 032f15a7f1efe96b5ec38654f7b70320b3508555 /src/commands.cpp | |
parent | d9b0571f38215a4cd3ac176c453d5a8729625abb (diff) |
Added m_watch.cpp (provides /WATCH for notify) and fixes to allow it to work
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1556 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 26cfa0da6..3a9399f7c 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -2286,6 +2286,11 @@ void handle_n(char token,char* params,serverrec* source,serverrec* reply, char* if (!user->nick) return; strlcpy(user->nick, newnick,NICKMAX); log(DEBUG,"new nick set: %s",user->nick); + if (user->registered == 7) + { + FOREACH_MOD OnUserPostNick(user,oldnick); + } + } } |