diff options
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | include/commands.h | 16 | ||||
-rw-r--r-- | include/ctables.h | 5 | ||||
-rw-r--r-- | include/helperfuncs.h | 16 | ||||
-rw-r--r-- | include/message.h | 18 | ||||
-rw-r--r-- | include/userprocess.h | 15 |
6 files changed, 7 insertions, 67 deletions
@@ -1668,7 +1668,7 @@ base.o: base.cpp ../include/base.h ../include/globals.h ../include/inspircd_conf configreader.o: configreader.cpp ../include/base.h ../include/configreader.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h \$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c configreader.cpp -commands.o: commands.cpp ../include/base.h ../include/commands.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h $srcobjs +commands.o: commands.cpp ../include/base.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h $srcobjs \$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c commands.cpp $cmdobjs dynamic.o: dynamic.cpp ../include/base.h ../include/dynamic.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h @@ -1809,7 +1809,7 @@ libIRCDconfigreader.so: configreader.cpp ../include/base.h ../include/configread \$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c configreader.cpp \$(CC) -Wl,--rpath -Wl,$config{LIBRARY_DIR} -shared -o libIRCDconfigreader.so configreader.o -libIRCDcommands.so: commands.cpp ../include/base.h ../include/commands.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h +libIRCDcommands.so: commands.cpp ../include/base.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h \$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c commands.cpp \$(CC) -Wl,--rpath -Wl,$config{LIBRARY_DIR} -shared -o libIRCDcommands.so commands.o diff --git a/include/commands.h b/include/commands.h deleted file mode 100644 index ac882782a..000000000 --- a/include/commands.h +++ /dev/null @@ -1,16 +0,0 @@ -/* +------------------------------------+ - * | Inspire Internet Relay Chat Daemon | - * +------------------------------------+ - * - * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. - * E-mail: - * <brain@chatspike.net> - * <Craig@chatspike.net> - * - * Written by Craig Edwards, Craig McLure, and others. - * This program is free but copyrighted software; see - * the file COPYING for details. - * - * --------------------------------------------------- - */ - diff --git a/include/ctables.h b/include/ctables.h index ca2ef074b..003d512e8 100644 --- a/include/ctables.h +++ b/include/ctables.h @@ -80,6 +80,11 @@ class command_t : public Extensible virtual CmdResult Handle(const char** parameters, int pcnt, userrec* user) = 0; + virtual CmdResult HandleServer(const char** parameters, int pcnt, const std::string &servername) + { + return CMD_INVALID; + } + void Disable(bool setting) { disabled = setting; diff --git a/include/helperfuncs.h b/include/helperfuncs.h deleted file mode 100644 index ce169c3b0..000000000 --- a/include/helperfuncs.h +++ /dev/null @@ -1,16 +0,0 @@ -/* +------------------------------------+ - * | Inspire Internet Relay Chat Daemon | - * +------------------------------------+ - * - * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. - * E-mail: - * <brain@chatspike.net> - * <Craig@chatspike.net> - * - * Written by Craig Edwards, Craig McLure, and others. - * This program is free but copyrighted software; see - * the file COPYING for details. - * - * --------------------------------------------------- - */ - diff --git a/include/message.h b/include/message.h deleted file mode 100644 index aab2f6973..000000000 --- a/include/message.h +++ /dev/null @@ -1,18 +0,0 @@ -/* +------------------------------------+ - * | Inspire Internet Relay Chat Daemon | - * +------------------------------------+ - * - * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. - * E-mail: - * <brain@chatspike.net> - * <Craig@chatspike.net> - * - * Written by Craig Edwards, Craig McLure, and others. - * This program is free but copyrighted software; see - * the file COPYING for details. - * - * --------------------------------------------------- - */ - -#warning "message.h is deprecated and may be removed from a future version" - diff --git a/include/userprocess.h b/include/userprocess.h deleted file mode 100644 index 0e1b11976..000000000 --- a/include/userprocess.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef __USERPROCESS_H__ -#define __USERPROCESS_H__ - -#include "users.h" -#include "inspircd.h" - -void CheckDie(); -void LoadAllModules(InspIRCd* ServerInstance); -void CheckRoot(); -void OpenLog(char** argv, int argc); -/*void DoBackgroundUserStuff(time_t TIME); -void ProcessUser(userrec* cu); -void DoSocketTimeouts(time_t TIME, InspIRCd* SI);*/ - -#endif |