X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmodules%2FNeonServ.mod%2Fbot_NeonServ.c;h=d1b9a5b9c93ab490b7d7a46caf48b53d3cf6e96e;hb=e192ffc0fed753aa5a5c5081674511f90c5a953b;hp=e6ec912caa8f8b61cf42e3e3780cb41b476f6368;hpb=706e48b1e666054030c491d864f740071e390038;p=NeonServV5.git diff --git a/src/modules/NeonServ.mod/bot_NeonServ.c b/src/modules/NeonServ.mod/bot_NeonServ.c index e6ec912..d1b9a5b 100644 --- a/src/modules/NeonServ.mod/bot_NeonServ.c +++ b/src/modules/NeonServ.mod/bot_NeonServ.c @@ -1,4 +1,4 @@ -/* bot_NeonServ.c - NeonServ v5.3 +/* bot_NeonServ.c - NeonServ v5.4 * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -15,29 +15,30 @@ * along with this program. If not, see . */ #include "../module.h" +#include "../botid.h" #include "bot_NeonServ.h" -#include "modcmd.h" -#include "IRCEvents.h" -#include "IRCParser.h" -#include "UserNode.h" -#include "ChanNode.h" -#include "ChanUser.h" -#include "BanNode.h" -#include "ModeNode.h" -#include "ClientSocket.h" -#include "mysqlConn.h" -#include "lang.h" -#include "HandleInfoHandler.h" -#include "WHOHandler.h" -#include "DBHelper.h" -#include "tools.h" -#include "timeq.h" -#include "EventLogger.h" +#include "../../modcmd.h" +#include "../../IRCEvents.h" +#include "../../IRCParser.h" +#include "../../UserNode.h" +#include "../../ChanNode.h" +#include "../../ChanUser.h" +#include "../../BanNode.h" +#include "../../ModeNode.h" +#include "../../ClientSocket.h" +#include "../../mysqlConn.h" +#include "../../lang.h" +#include "../../HandleInfoHandler.h" +#include "../../WHOHandler.h" +#include "../../DBHelper.h" +#include "../../tools.h" +#include "../../timeq.h" +#include "../../EventLogger.h" #include "cmd_neonserv.h" -#include "ConfigParser.h" +#include "../../ConfigParser.h" -#define BOTID 1 +#define BOTID NEONSERV_BOTID #define BOTALIAS "NeonServ" static const struct default_language_entry msgtab[] = { @@ -236,6 +237,7 @@ static const struct default_language_entry msgtab[] = { {"NS_REGISTER_DONE", "$b%s$b is now registered to $b%s$b."}, /* {ARGS: "#TestChan", "TestUser"} */ {"NS_REGISTER_DONE_NOAUTH", "$b%s$b is now registered."}, /* {ARGS: "#TestChan"} */ {"NS_UNREGISTER_NOT_REGISTERED", "$b%s$b is not registered with %s."}, /* {ARGS: "#TestChan", "NeonServ"} */ + {"NS_UNREGISTER_NODELETE", "$b%s$b is protected from being unregistered (nodelete)."}, /* {ARGS: "#TestChan"} */ {"NS_UNREGISTER_DONE", "$b%s$b unregistered."}, /* {ARGS: "#TestChan"} */ {"NS_RECOVER_DONE", "$b%s$b has been recovered."}, /* {ARGS: "#TestChan"} */ {"NS_RESYNC_DONE", "Synchronized users in $b%s$b with the userlist."}, /* {ARGS: "#TestChan"} */