From 69ffa8d85f9f709b72ad3c4489b7c93f7ec14a9a Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 17 Jun 2007 13:10:53 +0000 Subject: More git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7343 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_watch.cpp | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) (limited to 'src/modules/m_watch.cpp') diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index ca51fc690..5eda2d0e2 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -70,7 +70,7 @@ typedef nspace::hash_map, nspace::hash_compare #else typedef nspace::hash_map, nspace::hash > watchentries; #endif -typedef std::mapwatchlist; +typedef std::map watchlist; /* Who's watching each nickname. * NOTE: We do NOT iterate this to display a user's WATCH list! @@ -468,28 +468,5 @@ class Modulewatch : public Module } }; - -class ModulewatchFactory : public ModuleFactory -{ - public: - ModulewatchFactory() - { - } - - ~ModulewatchFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new Modulewatch(Me); - } - -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModulewatchFactory; -} +MODULE_INIT(Modulewatch); -- cgit v1.3.1-10-gc9f91