diff options
author | Adam <Adam@anope.org> | 2010-12-06 17:06:57 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-12-12 19:37:03 -0500 |
commit | aed53dbb47822a79eb9a6b61095ad04ec3d67818 (patch) | |
tree | 72d3210b5609ea2163854d14ec7fb2f48d8b4d12 /src/ircd.cpp | |
parent | a507816701d136a1c22d2f6779d811840d61577c (diff) |
Cleaned up some things, made the protocol modules use some basic inheritance to cut back on their code duplication. More work can be done in the future to remove even more of it.
Diffstat (limited to 'src/ircd.cpp')
-rw-r--r-- | src/ircd.cpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/ircd.cpp b/src/ircd.cpp deleted file mode 100644 index edab02be4..000000000 --- a/src/ircd.cpp +++ /dev/null @@ -1,34 +0,0 @@ -/* Main ircd functions. - * - * (C) 2003-2010 Anope Team - * Contact us at team@anope.org - * - * Please read COPYING and README for further details. - * - * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. - */ - -#include "services.h" -#include "extern.h" - -IRCDProto *ircdproto; - -/** - * Globals we want from the protocol file - **/ -IRCDVar *ircd; - -void pmodule_ircd_proto(IRCDProto *proto) -{ - ircdproto = proto; -} - -/** - * Set routines for modules to set the prefered function for dealing with things. - **/ -void pmodule_ircd_var(IRCDVar *ircdvar) -{ - ircd = ircdvar; -} - |