summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/unreal32.c17
-rw-r--r--version.log6
2 files changed, 9 insertions, 14 deletions
diff --git a/src/unreal32.c b/src/unreal32.c
index 776a89daa..f600cbf65 100644
--- a/src/unreal32.c
+++ b/src/unreal32.c
@@ -57,7 +57,7 @@ IRCDVar ircd[] = {
"+rd", /* Mode On Reg */
"-r+d", /* Mode on UnReg */
"-r+d", /* Mode on Nick Change */
- 0, /* Supports SGlines */
+ 1, /* Supports SGlines */
1, /* Supports SQlines */
1, /* Supports SZlines */
1, /* Supports Halfop +h */
@@ -1901,12 +1901,7 @@ void anope_cmd_release_svshold(char *nick)
*/
void anope_cmd_unsgline(char *mask)
{
- /*
- Although Unreal has SVSNLINE, it has not worked in older version of
- Unreal 3.2 it confused the tokens, now with 3.2.2 it seems they don't
- understand the command at all, leaving it disable till I figure out
- what is going on with it.
- */
+ send_cmd(NULL, "SVSNLINE - :%s", mask);
}
/* UNSZLINE */
@@ -1930,12 +1925,8 @@ void anope_cmd_szline(char *mask, char *reason, char *whom)
*/
void anope_cmd_sgline(char *mask, char *reason)
{
- /*
- Although Unreal has SVSNLINE, it has not worked the older version of
- Unreal 3.2 it confused the tokens, now with 3.2.2 it seems they don't
- understand the command at all, leaving it disable till I figure out
- what is going on with it.
- */
+ strnrepl(reason, BUFSIZE, " ", "_");
+ send_cmd(NULL, "SVSNLINE + %s :%s", reason, mask);
}
/* SVSMODE -b */
diff --git a/version.log b/version.log
index 4969f36b2..d187eba7c 100644
--- a/version.log
+++ b/version.log
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="6"
-VERSION_BUILD="458"
+VERSION_BUILD="459"
# $Log$
#
+# BUILD : 1.7.6 (459)
+# BUGS : N/A
+# NOTES : Got Unreals SVSNLINE (sgline) working
+#
# BUILD : 1.7.6 (458)
# BUGS : N/A
# NOTES : Updated our SGLINE/SZLINE support to all ircd where avaiable, this fixes some issues as well