diff options
Diffstat (limited to 'src/modules/m_services_account.cpp')
-rw-r--r-- | src/modules/m_services_account.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp index ac5338332..cc941d905 100644 --- a/src/modules/m_services_account.cpp +++ b/src/modules/m_services_account.cpp @@ -213,7 +213,7 @@ class ModuleServicesAccount : public Module if (checking) return MOD_RES_PASSTHRU; - if (mask[1] == ':') + if ((mask.length() > 2) && (mask[1] == ':')) { if (mask[0] == 'R') { |