diff options
| author | 2018-01-21 13:33:44 +0000 | |
|---|---|---|
| committer | 2018-04-09 11:59:09 +0100 | |
| commit | aa19c8fc021ce1cc704434a2c5a19e1517132c79 (patch) | |
| tree | 3cfce99d378020fb28dd21a8111be84633267d06 /src/users.cpp | |
| parent | Fix ELine::Matches returning false on existing match (diff) | |
| download | inspircd++-aa19c8fc021ce1cc704434a2c5a19e1517132c79.tar.gz inspircd++-aa19c8fc021ce1cc704434a2c5a19e1517132c79.tar.bz2 inspircd++-aa19c8fc021ce1cc704434a2c5a19e1517132c79.zip | |
Remove swhois messages set in the oper block on deoper.
Closes #1240.
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp index 9e06485e5..ac87f1187 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -692,6 +692,7 @@ void User::UnOper() ServerInstance->Users->all_opers.remove(this); this->modes[UM_OPERATOR] = 0; + FOREACH_MOD(I_OnPostDeoper, OnPostDeoper(this)); } /* adds or updates an entry in the whowas list */ |
