diff options
| author | 2007-07-28 18:05:37 +0000 | |
|---|---|---|
| committer | 2007-07-28 18:05:37 +0000 | |
| commit | 2af0a63dbbd0b2de95a0afcee893e1fdcd334049 (patch) | |
| tree | b9e63f24eacde973ed8e780d1beae292404af712 /src/modules/m_services.cpp | |
| parent | Block changes r7587-7600 (diff) | |
Merge r7602 from trunk
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7603 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_services.cpp')
| -rw-r--r-- | src/modules/m_services.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp index 22b5dfcb5..af4616793 100644 --- a/src/modules/m_services.cpp +++ b/src/modules/m_services.cpp @@ -209,7 +209,7 @@ class ModuleServices : public Module virtual void OnUserPostNick(userrec* user, const std::string &oldnick) { /* On nickchange, if they have +r, remove it */ - if (user->IsModeSet('r')) + if (user->IsModeSet('r') && !(irc::string(user->nick) == oldnick)) { const char* modechange[2]; modechange[0] = user->nick; |
