mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-16 22:19:01 -04:00
Merge r7602 from trunk
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7603 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
7b1aa89b32
commit
2af0a63dbb
@ -209,7 +209,7 @@ class ModuleServices : public Module
|
|||||||
virtual void OnUserPostNick(userrec* user, const std::string &oldnick)
|
virtual void OnUserPostNick(userrec* user, const std::string &oldnick)
|
||||||
{
|
{
|
||||||
/* On nickchange, if they have +r, remove it */
|
/* 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];
|
const char* modechange[2];
|
||||||
modechange[0] = user->nick;
|
modechange[0] = user->nick;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user