Added core commands MODUNLOAD and MODRELOAD. And fixed some typos.

This commit is contained in:
Elijah Perrault committed 2011-02-01 21:40:22 -07:00
1 parent f50df43fbe
commit 3b95067bf6
3 files changed
+104 -4

No files matched your search

+2
View File
@@ -292,6 +292,8 @@ undef $it;
API::Std::hook_add("on_uprivmsg", "ctcp_version_reply", \&Core::IRC::version_reply);
# Create core commands.
API::Std::cmd_add("MODLOAD", 1, \%Core::IRC::SHELP_MODLOAD, \%Core::IRC::FHELP_MODLOAD, \&Core::IRC::cmd_modload);
API::Std::cmd_add("MODUNLOAD", 1, \%Core::IRC::SHELP_MODUNLOAD, \%Core::IRC::FHELP_MODUNLOAD, \&Core::IRC::cmd_modunload);
API::Std::cmd_add("MODRELOAD", 1, \%Core::IRC::SHELP_MODRELOAD, \%Core::IRC::FHELP_MODRELOAD, \&Core::IRC::cmd_modreload);
# Infinite while loop.
while (1) {