diff options
| author | 2013-05-16 16:00:19 +0200 | |
|---|---|---|
| committer | 2013-05-18 21:23:52 +0200 | |
| commit | f3d134a5b642b83e865c03b45c313df7f829ba15 (patch) | |
| tree | d7a2e9b138b3d9d784f067b3db4eade52281dbae /src/modules/m_nicklock.cpp | |
| parent | Remove unused UserManager::ServerPrivmsgAll() (diff) | |
Get rid of the NICKForced extension
Don't run OnUserPreNick when the nick change is forced
Diffstat (limited to 'src/modules/m_nicklock.cpp')
| -rw-r--r-- | src/modules/m_nicklock.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp index 8e0d5ae7f..d48687113 100644 --- a/src/modules/m_nicklock.cpp +++ b/src/modules/m_nicklock.cpp @@ -168,9 +168,6 @@ class ModuleNickLock : public Module if (!IS_LOCAL(user)) return MOD_RES_PASSTHRU; - if (ServerInstance->NICKForced.get(user)) /* Allow forced nick changes */ - return MOD_RES_PASSTHRU; - if (locked.get(user)) { user->WriteNumeric(447, "%s :You cannot change your nickname (your nick is locked)",user->nick.c_str()); |
