summaryrefslogtreecommitdiff
path: root/modules/core
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core')
-rw-r--r--modules/core/bs_act.cpp11
-rw-r--r--modules/core/bs_assign.cpp25
-rw-r--r--modules/core/bs_badwords.cpp112
-rw-r--r--modules/core/bs_bot.cpp117
-rw-r--r--modules/core/bs_botlist.cpp17
-rw-r--r--modules/core/bs_help.cpp3
-rw-r--r--modules/core/bs_info.cpp111
-rw-r--r--modules/core/bs_kick.cpp93
-rw-r--r--modules/core/bs_say.cpp16
-rw-r--r--modules/core/bs_set.cpp55
-rw-r--r--modules/core/bs_unassign.cpp17
-rw-r--r--modules/core/cs_access.cpp249
-rw-r--r--modules/core/cs_akick.cpp153
-rw-r--r--modules/core/cs_ban.cpp35
-rw-r--r--modules/core/cs_clearusers.cpp18
-rw-r--r--modules/core/cs_clone.cpp22
-rw-r--r--modules/core/cs_drop.cpp16
-rw-r--r--modules/core/cs_forbid.cpp17
-rw-r--r--modules/core/cs_getkey.cpp14
-rw-r--r--modules/core/cs_help.cpp4
-rw-r--r--modules/core/cs_info.cpp32
-rw-r--r--modules/core/cs_invite.cpp22
-rw-r--r--modules/core/cs_kick.cpp35
-rw-r--r--modules/core/cs_list.cpp24
-rw-r--r--modules/core/cs_mode.cpp42
-rw-r--r--modules/core/cs_modes.cpp32
-rw-r--r--modules/core/cs_register.cpp30
-rw-r--r--modules/core/cs_saset.cpp14
-rw-r--r--modules/core/cs_saset_noexpire.cpp9
-rw-r--r--modules/core/cs_set.cpp16
-rw-r--r--modules/core/cs_set_bantype.cpp8
-rw-r--r--modules/core/cs_set_description.cpp5
-rw-r--r--modules/core/cs_set_founder.cpp13
-rw-r--r--modules/core/cs_set_keeptopic.cpp9
-rw-r--r--modules/core/cs_set_opnotice.cpp9
-rw-r--r--modules/core/cs_set_peace.cpp9
-rw-r--r--modules/core/cs_set_persist.cpp9
-rw-r--r--modules/core/cs_set_private.cpp9
-rw-r--r--modules/core/cs_set_restricted.cpp9
-rw-r--r--modules/core/cs_set_secure.cpp9
-rw-r--r--modules/core/cs_set_securefounder.cpp11
-rw-r--r--modules/core/cs_set_secureops.cpp9
-rw-r--r--modules/core/cs_set_signkick.cpp11
-rw-r--r--modules/core/cs_set_successor.cpp17
-rw-r--r--modules/core/cs_set_topiclock.cpp9
-rw-r--r--modules/core/cs_set_xop.cpp12
-rw-r--r--modules/core/cs_status.cpp26
-rw-r--r--modules/core/cs_suspend.cpp41
-rw-r--r--modules/core/cs_topic.cpp12
-rw-r--r--modules/core/cs_unban.cpp27
-rw-r--r--modules/core/cs_xop.cpp155
-rw-r--r--modules/core/hs_del.cpp16
-rw-r--r--modules/core/hs_delall.cpp16
-rw-r--r--modules/core/hs_group.cpp9
-rw-r--r--modules/core/hs_help.cpp4
-rw-r--r--modules/core/hs_list.cpp24
-rw-r--r--modules/core/hs_off.cpp7
-rw-r--r--modules/core/hs_on.cpp9
-rw-r--r--modules/core/hs_set.cpp30
-rw-r--r--modules/core/hs_setall.cpp32
-rw-r--r--modules/core/ms_cancel.cpp19
-rw-r--r--modules/core/ms_check.cpp30
-rw-r--r--modules/core/ms_del.cpp33
-rw-r--r--modules/core/ms_help.cpp4
-rw-r--r--modules/core/ms_ignore.cpp24
-rw-r--r--modules/core/ms_info.cpp80
-rw-r--r--modules/core/ms_list.cpp42
-rw-r--r--modules/core/ms_read.cpp31
-rw-r--r--modules/core/ms_rsend.cpp14
-rw-r--r--modules/core/ms_send.cpp7
-rw-r--r--modules/core/ms_sendall.cpp7
-rw-r--r--modules/core/ms_set.cpp73
-rw-r--r--modules/core/ms_staff.cpp7
-rw-r--r--modules/core/ns_access.cpp65
-rw-r--r--modules/core/ns_alist.cpp18
-rw-r--r--modules/core/ns_drop.cpp27
-rw-r--r--modules/core/ns_forbid.cpp18
-rw-r--r--modules/core/ns_getemail.cpp9
-rw-r--r--modules/core/ns_getpass.cpp17
-rw-r--r--modules/core/ns_ghost.cpp22
-rw-r--r--modules/core/ns_group.cpp68
-rw-r--r--modules/core/ns_help.cpp4
-rw-r--r--modules/core/ns_identify.cpp26
-rw-r--r--modules/core/ns_info.cpp51
-rw-r--r--modules/core/ns_list.cpp18
-rw-r--r--modules/core/ns_logout.cpp18
-rw-r--r--modules/core/ns_recover.cpp26
-rw-r--r--modules/core/ns_register.cpp68
-rw-r--r--modules/core/ns_release.cpp21
-rw-r--r--modules/core/ns_resetpass.cpp19
-rw-r--r--modules/core/ns_saset.cpp37
-rw-r--r--modules/core/ns_saset_noexpire.cpp7
-rw-r--r--modules/core/ns_sendpass.cpp15
-rw-r--r--modules/core/ns_set.cpp30
-rw-r--r--modules/core/ns_set_autoop.cpp7
-rw-r--r--modules/core/ns_set_email.cpp13
-rw-r--r--modules/core/ns_set_greet.cpp6
-rw-r--r--modules/core/ns_set_hide.cpp7
-rw-r--r--modules/core/ns_set_kill.cpp13
-rw-r--r--modules/core/ns_set_language.cpp5
-rw-r--r--modules/core/ns_set_message.cpp11
-rw-r--r--modules/core/ns_set_private.cpp7
-rw-r--r--modules/core/ns_set_secure.cpp7
-rw-r--r--modules/core/ns_status.cpp19
-rw-r--r--modules/core/ns_suspend.cpp41
-rw-r--r--modules/core/ns_update.cpp3
-rw-r--r--modules/core/os_akill.cpp117
-rw-r--r--modules/core/os_chankill.cpp7
-rw-r--r--modules/core/os_chanlist.cpp15
-rw-r--r--modules/core/os_defcon.cpp17
-rw-r--r--modules/core/os_global.cpp5
-rw-r--r--modules/core/os_help.cpp4
-rw-r--r--modules/core/os_ignore.cpp48
-rw-r--r--modules/core/os_jupe.cpp11
-rw-r--r--modules/core/os_kick.cpp13
-rw-r--r--modules/core/os_mode.cpp10
-rw-r--r--modules/core/os_modinfo.cpp64
-rw-r--r--modules/core/os_modlist.cpp27
-rw-r--r--modules/core/os_modload.cpp11
-rw-r--r--modules/core/os_modreload.cpp17
-rw-r--r--modules/core/os_modunload.cpp15
-rw-r--r--modules/core/os_news.cpp72
-rw-r--r--modules/core/os_noop.cpp11
-rw-r--r--modules/core/os_oline.cpp13
-rw-r--r--modules/core/os_quit.cpp3
-rw-r--r--modules/core/os_reload.cpp4
-rw-r--r--modules/core/os_restart.cpp3
-rw-r--r--modules/core/os_session.cpp129
-rw-r--r--modules/core/os_set.cpp98
-rw-r--r--modules/core/os_shutdown.cpp3
-rw-r--r--modules/core/os_snline.cpp120
-rw-r--r--modules/core/os_sqline.cpp113
-rw-r--r--modules/core/os_staff.cpp9
-rw-r--r--modules/core/os_stats.cpp140
-rw-r--r--modules/core/os_svsnick.cpp19
-rw-r--r--modules/core/os_szline.cpp110
-rw-r--r--modules/core/os_umode.cpp11
-rw-r--r--modules/core/os_update.cpp3
-rw-r--r--modules/core/os_userlist.cpp15
-rw-r--r--modules/core/ss_main.cpp3
140 files changed, 2256 insertions, 2025 deletions
diff --git a/modules/core/bs_act.cpp b/modules/core/bs_act.cpp
index b575f5030..87c7125ee 100644
--- a/modules/core/bs_act.cpp
+++ b/modules/core/bs_act.cpp
@@ -20,26 +20,27 @@ class CommandBSAct : public Command
{
}
- CommandReturn Execute(User *u, const std::vector<Anope::string> &params)
+ CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
{
- ChannelInfo *ci = cs_findchan(params[0