diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-08 11:56:14 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-08 11:56:14 +0000 |
commit | b3a880124666297e73f55c73936998810542ec78 (patch) | |
tree | 4909ea356090913fced2f92bd9ca262bf564de1b | |
parent | 6ae42a9253a4a42d521ba3acc8522f1ab20be07f (diff) |
Updated block numeric to read COLOUR >:)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3141 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_blockcolor.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/m_blockcolor.cpp b/src/modules/m_blockcolor.cpp index c53520adb..701ac692c 100644 --- a/src/modules/m_blockcolor.cpp +++ b/src/modules/m_blockcolor.cpp @@ -25,12 +25,12 @@ using namespace std; /* $ModDesc: Provides support for unreal-style channel mode +c */ -class ModuleBlockColor : public Module +class ModuleBlockColour : public Module { Server *Srv; public: - ModuleBlockColor(Server* Me) + ModuleBlockColour(Server* Me) : Module::Module(Me) { Srv = Me; @@ -70,7 +70,7 @@ class ModuleBlockColor : public Module case 21: case 22: case 31: - WriteServ(user->fd,"404 %s %s :Can't send colors to channel (+c set)",user->nick, c->name); + WriteServ(user->fd,"404 %s %s :Can't send colours to channel (+c set)",user->nick, c->name); return 1; break; } @@ -99,7 +99,7 @@ class ModuleBlockColor : public Module } } - virtual ~ModuleBlockColor() + virtual ~ModuleBlockColour() { } @@ -110,20 +110,20 @@ class ModuleBlockColor : public Module }; -class ModuleBlockColorFactory : public ModuleFactory +class ModuleBlockColourFactory : public ModuleFactory { public: - ModuleBlockColorFactory() + ModuleBlockColourFactory() { } - ~ModuleBlockColorFactory() + ~ModuleBlockColourFactory() { } virtual Module * CreateModule(Server* Me) { - return new ModuleBlockColor(Me); + return new ModuleBlockColour(Me); } }; @@ -131,6 +131,6 @@ class ModuleBlockColorFactory : public ModuleFactory extern "C" void * init_module( void ) { - return new ModuleBlockColorFactory; + return new ModuleBlockColourFactory; } |