summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-08 18:50:20 +0000
committerfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-08 18:50:20 +0000
commitaad43006cf817b6c508c45adb2e592f9ba01704a (patch)
tree58ee21d9481bbaee011d51cf1f4bf8cea134d35e /src
parenta8c3bbb15d8dc1390864612f6d89c5015ad8366d (diff)
Removed my humourous Error messages (Replaced them with Useful Text)
Fixed bug which caused 'Invalid Parameters' Error Removed some redundant code. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@460 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_helpop.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp
index 750362a51..6696b59d2 100644
--- a/src/modules/m_helpop.cpp
+++ b/src/modules/m_helpop.cpp
@@ -118,14 +118,14 @@ class ModuleHelpop : public Module
h_file = conf->ReadValue("helpop", "file", 0);
if (h_file == "") {
- printf("WE ARE AAAAALL GONNA DIEEEEEEEEEEEE!!");
+ printf("m_helpop: Helpop file not Specified.");
exit(0);
}
helpop = new ConfigReader(h_file);
if (!helpop->Verify())
{
- printf("Thats it.. were all dead.");
+ printf("m_helpop: Invalid Helpop File. Please Ensure it exists and is error free.");
exit(0);
}
@@ -133,21 +133,22 @@ class ModuleHelpop : public Module
(helpop->ReadValue("nohelpo", "line1", 0) == "") ||
(helpop->ReadValue("start", "line1", 0) == ""))
{
- printf("m_helpop: Important Shit Missing. Please check your file.");
+ printf("m_helpop: Helpop file is missing important entries. Please check the example conf.");
exit(0);
}
if (!Srv->AddExtendedMode('h',MT_CLIENT,true,0,0))
{
- Srv->Log(DEFAULT,"pr0n Found. Send it to Craig@chatspike.net for investigation.");
- printf("Could not claim usermode +h for this module!");
+ Srv->Log(DEFAULT,"Unable to clame the +h usermode.");
+ printf("m_helpop: Unable to claim the +h usermode!");
exit(0);
}
- /*if (!*/Srv->AddCommand("HELPOP",handle_helpop,0,1);/*)
+ // Loads of comments, untill supported properly.
+ /*if (!*/Srv->AddCommand("HELPOP",handle_helpop,0,0);/*)
{
- Srv->Log(DEFAULT,"Someone br0ked it.. not me");
- printf("B0RKED! JUMP SHIP.. AAAAAAAAAAAAAAAAAHHHHHH!");
+ Srv->Log(DEFAULT,"Unable to claim the HELPOP command.");
+ printf("m_helpop: Unable to claim the HELPOP command.");
exit(0);
}*/