diff options
author | Sadie Powell <sadie@witchery.services> | 2020-01-16 18:33:18 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-01-17 10:55:18 +0000 |
commit | 72286cca740b374661a03d8544ca28d9237875ad (patch) | |
tree | a40aaa825b2a60bacd20147d1915fa892e52d2e2 /src/modules/m_uhnames.cpp | |
parent | 2bf0722dde6938f3c423b0c3c8c494ce3f64437d (diff) |
Use irc::equals instead of strcasecmp where appropriate.
Diffstat (limited to 'src/modules/m_uhnames.cpp')
-rw-r--r-- | src/modules/m_uhnames.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_uhnames.cpp b/src/modules/m_uhnames.cpp index 5db980520..e89bade5e 100644 --- a/src/modules/m_uhnames.cpp +++ b/src/modules/m_uhnames.cpp @@ -63,7 +63,7 @@ class ModuleUHNames */ if (command == "PROTOCTL") { - if ((parameters.size()) && (!strcasecmp(parameters[0].c_str(),"UHNAMES"))) + if (!parameters.empty() && irc::equals(parameters[0], "UHNAMES")) { cap.set(user, true); return MOD_RES_DENY; |