summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/inspircd.helpop-full.example8
-rw-r--r--docs/inspircd.helpop.example8
-rw-r--r--docs/modules.conf.example6
-rw-r--r--docs/modules/modules.conf.charybdis2
-rw-r--r--make/configure.pm28
-rw-r--r--src/modules/m_blockcolor.cpp10
-rw-r--r--src/modules/m_ojoin.cpp2
-rw-r--r--src/modules/m_stripcolor.cpp4
-rw-r--r--win/configure.cpp2
9 files changed, 28 insertions, 42 deletions
diff --git a/docs/inspircd.helpop-full.example b/docs/inspircd.helpop-full.example
index f85aab9f5..68eb266c9 100644
--- a/docs/inspircd.helpop-full.example
+++ b/docs/inspircd.helpop-full.example
@@ -799,7 +799,7 @@ Closes all unregistered connections to the local server.">
(IRCop only, requires invisible module).
R Blocks private messages from unregistered users
(requires services account module).
- S Strips mIRC colour/bold/underline codes out of private
+ S Strips mIRC color/bold/underline codes out of private
messages to the user (requires stripcolor module).
W Receives notification when a user uses WHOIS on them
(IRCop only, requires showwhois module).">
@@ -826,7 +826,7 @@ Closes all unregistered connections to the local server.">
users to join while the channel is invite-only
(requires inviteexception module).
- c Blocks messages containing mIRC colour codes
+ c Blocks messages containing mIRC color codes
(requires blockcolor module).
d [time] Blocks messages to a channel from new users
until they have been in the channel for [time]
@@ -899,7 +899,7 @@ Closes all unregistered connections to the local server.">
(requires nokicks module)
R Blocks unregistered users from joining (requires
services account module).
- S Strips mIRC colour codes from messages to the
+ S Strips mIRC color codes from messages to the
channel (requirs stripcolor module).
T Blocks /NOTICEs to the channel from users who are
not at least halfop (requires nonotice module).
@@ -1024,7 +1024,7 @@ Matching extbans:
Acting extbans:
- c:<ban> Blocks any messages that contain colour codes from
+ c:<ban> Blocks any messages that contain color codes from
matching users (requires blockcolor module).
m:<ban> Blocks messages from matching users (requires muteban
module). Users with +v or above are not affected.
diff --git a/docs/inspircd.helpop.example b/docs/inspircd.helpop.example
index 83019f170..3688f74b3 100644
--- a/docs/inspircd.helpop.example
+++ b/docs/inspircd.helpop.example
@@ -107,7 +107,7 @@ LOCKSERV UNLOCKSERV JUMPSERVER">
(IRCop only, requires invisible module).
R Blocks private messages from unregistered users
(requires services account module).
- S Strips mIRC colour/bold/underline codes out of private
+ S Strips mIRC color/bold/underline codes out of private
messages to the user (requires stripcolor module).
W Receives notification when a user uses WHOIS on them
(IRCop only, requires showwhois module).">
@@ -134,7 +134,7 @@ LOCKSERV UNLOCKSERV JUMPSERVER">
users to join while the channel is invite-only
(requires inviteexception module).
- c Blocks messages containing mIRC colour codes
+ c Blocks messages containing mIRC color codes
(requires blockcolor module).
f [*][lines]:[sec] Kicks on text flood equal to or above the
specified rate. With *, the user is banned
@@ -206,7 +206,7 @@ LOCKSERV UNLOCKSERV JUMPSERVER">
(requires nokicks module)
R Blocks unregistered users from joining (requires
services account module).
- S Strips mIRC colour codes from messages to the
+ S Strips mIRC color codes from messages to the
channel (requirs stripcolor module).
T Blocks /NOTICEs to the channel from users who are
not at least halfop (requires nonotice module).
@@ -254,7 +254,7 @@ help channel if you have any questions.">
<helpop key="extbans" value="Extended Bans
----------
- c:n!u@h Blocks any messages that contain colour codes from
+ c:n!u@h Blocks any messages that contain color codes from
matching users (requires blockcolor module).
j:#channel Prevents anyone in #channel from joining the channel
(requires channelban module).
diff --git a/docs/modules.conf.example b/docs/modules.conf.example
index 8ae47d81f..671c60ce9 100644
--- a/docs/modules.conf.example
+++ b/docs/modules.conf.example
@@ -265,7 +265,7 @@
# capsmap="ABCDEFGHIJKLMNOPQRSTUVWXYZ! ">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-# Block colour module: Blocking colour-coded messages with cmode +c
+# Block color module: Blocking color-coded messages with cmode +c
#<module name="m_blockcolor.so">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
@@ -393,7 +393,7 @@
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Channel Names module: Allows disabling channels which have certain
-# characters in the channel name such as bold, colourcodes, etc which
+# characters in the channel name such as bold, colorcodes, etc which
# can be quite annoying and allow users to on occasion have a channel
# that looks like the name of another channel on the network.
#<module name="m_channames.so">
@@ -1624,7 +1624,7 @@
# your configuration file! #
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-# Strip colour module: Adds the channel mode +S
+# Strip color module: Adds the channel mode +S
#<module name="m_stripcolor.so">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
diff --git a/docs/modules/modules.conf.charybdis b/docs/modules/modules.conf.charybdis
index 509886269..8ba2f1b40 100644
--- a/docs/modules/modules.conf.charybdis
+++ b/docs/modules/modules.conf.charybdis
@@ -71,7 +71,7 @@
<module name="m_chancreate.so">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Channel Names module: Allows disabling channels which have certain
-# characters in the channel name such as bold, colourcodes, etc which
+# characters in the channel name such as bold, colorcodes, etc which
# can be quite annoying and allow users to on occasion have a channel
# that looks like the name of another channel on the network.
<module name="m_channames.so">
diff --git a/make/configure.pm b/make/configure.pm
index dbba7a143..526f39d29 100644
--- a/make/configure.pm
+++ b/make/configure.pm
@@ -22,7 +22,7 @@ use POSIX;
use make::utilities;
our @EXPORT = qw(promptnumeric dumphash is_dir getmodules getrevision getcompilerflags getlinkerflags getdependencies nopedantic resolve_directory yesno showhelp promptstring_s);
-my $no_svn = 0;
+my $no_git = 0;
sub yesno {
my ($flag,$prompt) = @_;
@@ -52,29 +52,18 @@ sub resolve_directory
}
sub getrevision {
- if ($no_svn)
+ if ($no_git)
{
return "0";
}
- my $data = `svn info 2>/dev/null`;
+ my $data = `git describe --tags 2>/dev/null`;
if ($data eq "")
{
- $data = `git describe --tags 2>/dev/null`;
- if ($data eq "")
- {
- $no_svn = 1;
- return '0';
- }
- chomp $data; # remove \n
- return $data;
- }
- $data =~ /Revision: (\d+)/;
- my $rev = $1;
- if (!defined($rev))
- {
- $rev = "0";
+ $no_git = 1;
+ return '0';
}
- return $rev;
+ chomp $data; # remove \n
+ return $data;
}
sub getcompilerflags {
@@ -262,9 +251,6 @@ InspIRCd 1.0.x, are also allowed.
YOU KNOW WHAT YOU ARE DOING!
--update Update makefiles and dependencies
--modupdate Detect new modules and write makefiles
- --svnupdate {--rebuild} Update working copy via subversion
- {and optionally rebuild if --rebuild
- is also specified}
--clean Remove .config.cache file and go interactive
--enable-gnutls Enable GnuTLS module [no]
--enable-openssl Enable OpenSSL module [no]
diff --git a/src/modules/m_blockcolor.cpp b/src/modules/m_blockcolor.cpp
index d19317074..cbe4bc1fa 100644
--- a/src/modules/m_blockcolor.cpp
+++ b/src/modules/m_blockcolor.cpp
@@ -23,13 +23,13 @@ class BlockColor : public SimpleChannelModeHandler
BlockColor(Module* Creator) : SimpleChannelModeHandler(Creator, "blockcolor", 'c') { }
};
-class ModuleBlockColour : public Module
+class ModuleBlockColor : public Module
{
bool AllowChanOps;
BlockColor bc;
public:
- ModuleBlockColour() : bc(this)
+ ModuleBlockColor() : bc(this)
{
if (!ServerInstance->Modes->AddMode(&bc))
throw ModuleException("Could not add new modes!");
@@ -64,7 +64,7 @@ class ModuleBlockColour : public Module
case 21:
case 22:
case 31:
- user->WriteNumeric(404, "%s %s :Can't send colours to channel (+c set)",user->nick.c_str(), c->name.c_str());
+ user->WriteNumeric(404, "%s %s :Can't send colors to channel (+c set)",user->nick.c_str(), c->name.c_str());
return MOD_RES_DENY;
break;
}
@@ -79,7 +79,7 @@ class ModuleBlockColour : public Module
return OnUserPreMessage(user,dest,target_type,text,status,exempt_list);
}
- virtual ~ModuleBlockColour()
+ virtual ~ModuleBlockColor()
{
}
@@ -89,4 +89,4 @@ class ModuleBlockColour : public Module
}
};
-MODULE_INIT(ModuleBlockColour)
+MODULE_INIT(ModuleBlockColor)
diff --git a/src/modules/m_ojoin.cpp b/src/modules/m_ojoin.cpp
index bbe3f05bb..c326321b0 100644
--- a/src/modules/m_ojoin.cpp
+++ b/src/modules/m_ojoin.cpp
@@ -242,7 +242,7 @@ class ModuleOjoin : public Module
Version GetVersion()
{
- return Version("Network Buisness Join", VF_VENDOR);
+ return Version("Network Business Join", VF_VENDOR);
}
};
diff --git a/src/modules/m_stripcolor.cpp b/src/modules/m_stripcolor.cpp
index c2246a0d9..83358922b 100644
--- a/src/modules/m_stripcolor.cpp
+++ b/src/modules/m_stripcolor.cpp
@@ -13,7 +13,7 @@
#include "inspircd.h"
-/* $ModDesc: Provides channel +S mode (strip ansi colour) */
+/* $ModDesc: Provides channel +S mode (strip ansi color) */
/** Handles channel mode +S
*/
@@ -137,7 +137,7 @@ class ModuleStripColor : public Module
virtual Version GetVersion()
{
- return Version("Provides channel +S mode (strip ansi colour)", VF_VENDOR);
+ return Version("Provides channel +S mode (strip ansi color)", VF_VENDOR);
}
};
diff --git a/win/configure.cpp b/win/configure.cpp
index 4acd7131b..7c9a27854 100644
--- a/win/configure.cpp
+++ b/win/configure.cpp
@@ -330,7 +330,7 @@ void Run()
printf("Writing inspircd_se_config.h...");
f = fopen("inspircd_se_config.h", "w");
- fprintf(f, "/* Auto generated by configure, do not modify or commit to svn! */\n");
+ fprintf(f, "/* Auto generated by configure, do not modify or commit to Git! */\n");
fprintf(f, "#ifndef __CONFIGURATION_SOCKETENGINE__\n");
fprintf(f, "#define __CONFIGURATION_SOCKETENGINE__\n\n");
fprintf(f, "#include \"socketengines/socketengine_%s.h\"\n\n", "select");