diff options
| author | Adam <Adam@anope.org> | 2012-06-18 05:04:30 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2012-06-18 05:04:30 -0400 |
| commit | 2dec8e767a70def4b9b04a96ae4f75e4d1013038 (patch) | |
| tree | 36f5b551ff359a578e17d5e7d2f486970d759a7b /modules/pseudoclients | |
| parent | 873d4287de57f7f9caa23cb2c9265d1ad2804aba (diff) | |
Allow userless command sources
Diffstat (limited to 'modules/pseudoclients')
| -rw-r--r-- | modules/pseudoclients/chanserv.cpp | 2 | ||||
| -rw-r--r-- | modules/pseudoclients/nickserv.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/pseudoclients/chanserv.cpp b/modules/pseudoclients/chanserv.cpp index 408815afc..181baa7b8 100644 --- a/modules/pseudoclients/chanserv.cpp +++ b/modules/pseudoclients/chanserv.cpp @@ -173,7 +173,7 @@ class ChanServCore : public Module "Note that any channel which is not used for %d days\n" "(i.e. which no user on the channel's access list enters\n" "for that period of time) will be automatically dropped."), Config->CSExpire / 86400); - if (source.u->IsServicesOper()) + if (source.IsServicesOper()) source.Reply(_(" \n" "Services Operators can also, depending on their access drop\n" "any channel, view (and modify) the access, levels and akick\n" diff --git a/modules/pseudoclients/nickserv.cpp b/modules/pseudoclients/nickserv.cpp index dd0501cd4..027317b7c 100644 --- a/modules/pseudoclients/nickserv.cpp +++ b/modules/pseudoclients/nickserv.cpp @@ -334,7 +334,7 @@ class NickServCore : public Module { if (!params.empty() || source.owner->nick != Config->NickServ) return; - if (source.u->IsServicesOper()) + if (source.IsServicesOper()) source.Reply(_(" \n" "Services Operators can also drop any nickname without needing\n" "to identify for the nick, and may view the access list for\n" |
