summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-11-22 06:14:11 +0000
committertrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-11-22 06:14:11 +0000
commit9f2191b82c18b8d6cb24468bc6d1b96a5cd5c09f (patch)
tree207a8503745a43a11b8f47dd373059acccf79ce2 /src
parent089557ed8743c7a6948d9277de17d51a7bd8db79 (diff)
BUILD : 1.7.6 (459) BUGS : N/A NOTES : Got Unreals SVSNLINE (sgline) working
git-svn-id: svn://svn.anope.org/anope/trunk@459 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@313 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/unreal32.c17
1 files changed, 4 insertions, 13 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 */