1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 08:23:12 +02:00

BUILD : 1.7.5 (411) BUGS : 197 NOTES : Fixed hostserv message on removal of vhost

git-svn-id: svn://svn.anope.org/anope/trunk@411 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@275 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
2004-10-17 23:49:32 +00:00
parent 760ada1274
commit 5b565cd77c
13 changed files with 28 additions and 19 deletions
+1 -1
View File
@@ -961,7 +961,7 @@ extern void anope_cmd_capab(); /* CAPAB */
extern void anope_cmd_chghost(char *nick, char *vhost); /* CHGHOST */
extern void anope_cmd_chgident(char *nick, char *vIdent); /* CHGIDENT */
extern void anope_cmd_vhost_on(char *nick, char *vIdent, char *vhost); /* CHGHOST + CHGIDENT */
extern void anope_cmd_vhost_off(char *nick);
extern void anope_cmd_vhost_off(User *u);
extern void anope_cmd_connect(int servernum); /* Connect */
extern void anope_cmd_ea(); /* EA */
extern void anope_cmd_global(char *source, const char *fmt, ...); /* GLOBOPS */
+1 -1
View File
@@ -1440,7 +1440,7 @@ void anope_cmd_vhost_on(char *nick, char *vIdent, char *vhost)
/* Not Supported by this IRCD */
}
void anope_cmd_vhost_off(char *nick)
void anope_cmd_vhost_off(User * u)
{
/* Not Supported by this IRCD */
}
+1 -1
View File
@@ -1258,7 +1258,7 @@ void anope_cmd_unban(char *name, char *nick)
/* Not Supported by this IRCD */
}
void anope_cmd_vhost_off(char *nick)
void anope_cmd_vhost_off(User * u)
{
/* Not Supported by this IRCD */
}
+1 -1
View File
@@ -1012,7 +1012,7 @@ int do_del(User * u)
int do_off(User * u)
{
/* put any generic code here... :) */
anope_cmd_vhost_off(u->nick);
anope_cmd_vhost_off(u);
return MOD_CONT;
}
+1 -1
View File
@@ -687,7 +687,7 @@ void anope_cmd_topic(char *whosets, char *chan, char *whosetit,
send_cmd(whosets, "TOPIC %s :%s", chan, topic);
}
void anope_cmd_vhost_off(char *nick)
void anope_cmd_vhost_off(User * u)
{
/* does not support vhosting */
}
+1 -1
View File
@@ -1296,7 +1296,7 @@ void anope_cmd_topic(char *whosets, char *chan, char *whosetit,
send_cmd(whosets, "TOPIC %s :%s", chan, topic);
}
void anope_cmd_vhost_off(char *nick)
void anope_cmd_vhost_off(User * u)
{
/* does not support vhosting */
}
+2 -1
View File
@@ -632,7 +632,8 @@ void anope_cmd_topic(char *whosets, char *chan, char *whosetit,
void anope_cmd_vhost_off(char *nick)
{
send_cmd(s_HostServ, "SVSMODE %s -x", nick);
send_cmd(s_HostServ, "SVSMODE %s -x", u->nick);
notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick);
}
void anope_cmd_vhost_on(char *nick, char *vIdent, char *vhost)
+2 -2
View File
@@ -784,9 +784,9 @@ void anope_cmd_topic(char *whosets, char *chan, char *whosetit,
send_cmd(whosets, "TOPIC %s %s %lu :%s", chan, whosetit, when, topic);
}
void anope_cmd_vhost_off(char *nick)
void anope_cmd_vhost_off(User * u)
{
/* does not support vhosting */
/* does not support removing vhosting */
}
void anope_cmd_vhost_on(char *nick, char *vIdent, char *vhost)
+3 -2
View File
@@ -684,9 +684,10 @@ void anope_cmd_remove_akill(char *user, char *host)
send_cmd(NULL, "RAKILL %s %s", host, user);
}
void anope_cmd_vhost_off(char *nick)
void anope_cmd_vhost_off(User * u)
{
send_cmd(s_HostServ, "SVSMODE %s -x", nick);
send_cmd(s_HostServ, "SVSMODE %s -x", u->nick);
notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick);
}
void anope_cmd_vhost_on(char *nick, char *vIdent, char *vhost)
+3 -2
View File
@@ -500,9 +500,10 @@ void anope_cmd_topic(char *whosets, char *chan, char *whosetit,
send_cmd(whosets, "TOPIC %s %s %lu :%s", chan, whosetit, when, topic);
}
void anope_cmd_vhost_off(char *nick)
void anope_cmd_vhost_off(User * u)
{
send_cmd(s_HostServ, "SVSMODE %s -xt", nick);
send_cmd(s_HostServ, "SVSMODE %s -xt", u->nick);
notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick);
}
void anope_cmd_akill(char *user, char *host, char *who, time_t when,
+4 -3
View File
@@ -741,15 +741,16 @@ void anope_cmd_topic(char *whosets, char *chan, char *whosetit,
whosetit, when, topic);
}
void anope_cmd_vhost_off(char *nick)
void anope_cmd_vhost_off(User * u)
{
if (UseSVS2MODE) {
send_cmd(s_HostServ, "%s %s -xt", send_token("SVS2MODE", "v"),
nick);
u->nick);
} else {
send_cmd(s_HostServ, "%s %s -xt", send_token("SVSMODE", "n"),
nick);
u->nick);
}
notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick);
}
void anope_cmd_akill(char *user, char *host, char *who, time_t when,
+3 -2
View File
@@ -779,9 +779,10 @@ void anope_cmd_topic(char *whosets, char *chan, char *whosetit,
send_cmd(whosets, "TOPIC %s %s %lu :%s", chan, whosetit, when, topic);
}
void anope_cmd_vhost_off(char *nick)
void anope_cmd_vhost_off(User * u)
{
send_cmd(NULL, "SVSMODE %s -x", nick);
send_cmd(NULL, "SVSMODE %s -x", u->nick);
notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick);
}
void anope_cmd_vhost_on(char *nick, char *vIdent, char *vhost)
+5 -1
View File
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="5"
VERSION_BUILD="410"
VERSION_BUILD="411"
# $Log$
#
# BUILD : 1.7.5 (411)
# BUGS : 197
# NOTES : Fixed hostserv message on removal of vhost
#
# BUILD : 1.7.5 (410)
# BUGS :
# NOTES : Added shot note in example.conf regarding NsRestrictOperNick or whatever it is called.