diff options
Diffstat (limited to 'src/modules/m_autoop.cpp')
-rw-r--r-- | src/modules/m_autoop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_autoop.cpp b/src/modules/m_autoop.cpp index 3eab189f2..a09d0d9e4 100644 --- a/src/modules/m_autoop.cpp +++ b/src/modules/m_autoop.cpp @@ -52,7 +52,7 @@ class AutoOpList : public ListModeBase if (adding && !mh) { - source->WriteNumeric(415, mid, InspIRCd::Format("Cannot find prefix mode '%s' for autoop", mid.c_str())); + source->WriteNumeric(ERR_UNKNOWNMODE, mid, InspIRCd::Format("Cannot find prefix mode '%s' for autoop", mid.c_str())); return MOD_RES_DENY; } else if (!mh) |