diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-02-25 18:05:04 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-02-25 18:05:04 +0100 |
commit | 761e6d75ba37b984998952940ed681e79e456142 (patch) | |
tree | 002d219057b5b4fda5c49595eada3eb7e1e8d525 /src/modules/m_nonicks.cpp | |
parent | b928bbfd192c5569b2fc5d497cfc88790bb6d795 (diff) | |
parent | 304b6dbbf56710b1310fce8c5cf71b73334c060a (diff) |
Merge branch 'master+writenumeric'
Diffstat (limited to 'src/modules/m_nonicks.cpp')
-rw-r--r-- | src/modules/m_nonicks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp index 63815f2bf..d4da3e951 100644 --- a/src/modules/m_nonicks.cpp +++ b/src/modules/m_nonicks.cpp @@ -62,8 +62,8 @@ class ModuleNoNickChange : public Module if (!curr->GetExtBanStatus(user, 'N').check(!curr->IsModeSet(nn))) { - user->WriteNumeric(ERR_CANTCHANGENICK, ":Can't change nickname while on %s (+N is set)", - curr->name.c_str()); + user->WriteNumeric(ERR_CANTCHANGENICK, InspIRCd::Format("Can't change nickname while on %s (+N is set)", + curr->name.c_str())); return MOD_RES_DENY; } } |