diff options
| author | 2021-03-17 06:15:39 +0000 | |
|---|---|---|
| committer | 2021-03-17 06:15:48 +0000 | |
| commit | 9ad9a668d57de7858a85bd8b6b17594113e32598 (patch) | |
| tree | 0ae85f731ad4db0b052322882170f18ed9acb616 /src/modules/m_swhois.cpp | |
| parent | Pascalize Set in extension item classes. (diff) | |
Pascalize Unset in extension item classes.
Diffstat (limited to 'src/modules/m_swhois.cpp')
| -rw-r--r-- | src/modules/m_swhois.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp index 41e2f2885..2b14def9d 100644 --- a/src/modules/m_swhois.cpp +++ b/src/modules/m_swhois.cpp @@ -74,9 +74,9 @@ class CommandSwhois : public Command ServerInstance->SNO.WriteGlobalSno('a', "%s used SWHOIS to set %s's extra whois to '%s'", user->nick.c_str(), dest->nick.c_str(), parameters[1].c_str()); } - operblock.unset(user); + operblock.Unset(user); if (parameters[1].empty()) - swhois.unset(dest); + swhois.Unset(dest); else swhois.Set(dest, parameters[1]); @@ -150,8 +150,8 @@ class ModuleSWhois if (!cmd.operblock.Get(user)) return; - cmd.operblock.unset(user); - cmd.swhois.unset(user); + cmd.operblock.Unset(user); + cmd.swhois.Unset(user); ServerInstance->PI->SendMetaData(user, "swhois", ""); } @@ -159,7 +159,7 @@ class ModuleSWhois { User* dest = static_cast<User*>(target); if (dest && (extname == "swhois")) - cmd.operblock.unset(dest); + cmd.operblock.Unset(dest); } }; |
