summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobbeh <robbeh@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-04 17:27:59 +0000
committerrobbeh <robbeh@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-04 17:27:59 +0000
commit0b76c8b5e60d2efeaa587ec6240f4117ad250b35 (patch)
tree178dd4ac29bf0b5adbf9a393d5d0f8df4218b34d
parent942b1a88009c13afe20352e50948ddcc85befec5 (diff)
Applied patch by mooncup to re-apply the cloaked host when using /hs off for unreal32
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@1943 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes15
-rw-r--r--Changes.lang2
-rw-r--r--lang/cat.l2
-rw-r--r--lang/de.l2
-rw-r--r--lang/en_us.l2
-rw-r--r--lang/es.l2
-rw-r--r--lang/fr.l2
-rw-r--r--lang/gr.l2
-rw-r--r--lang/hun.l2
-rw-r--r--lang/it.l2
-rw-r--r--lang/nl.l2
-rw-r--r--lang/pl.l3
-rw-r--r--lang/pt.l2
-rw-r--r--lang/ru.l4
-rw-r--r--lang/tr.l2
-rw-r--r--src/protocol/unreal32.c10
16 files changed, 44 insertions, 12 deletions
diff --git a/Changes b/Changes
index f3946a22e..e1d02e34e 100644
--- a/Changes
+++ b/Changes
@@ -1,12 +1,15 @@
Anope Version 1.8 SVN
-------------------
Provided by Anope Dev. <team@anope.org> - 2009
-01/03 F Updated install.js url for windows build help. [ #00]
-01/17 F Fixed MySQL DB saving failing due to unsafe queries. [ #994]
-01/18 F Fixed check for backtrace() in configure. [ #00]
-01/22 F Do not allow invalied nicks to be grouped. [#1000]
-01/26 F Do not allow empty vIdent when loading from MySQL. [ #00]
-01/26 F Readonly/noexpire are now checked before saving on shutdown. [ #00]
+01/03 F Updated install.js url for windows build help. [ #00]
+01/17 F Fixed MySQL DB saving failing due to unsafe queries. [ #994]
+01/18 F Fixed check for backtrace() in configure. [ #00]
+01/22 F Do not allow invalied nicks to be grouped. [#1000]
+01/26 F Do not allow empty vIdent when loading from MySQL. [ #00]
+01/26 F Readonly/noexpire are now checked before saving on shutdown. [ #00]
+
+Provided by mooncup <mooncup@anonnet.org> - 2009
+02/04 F Automatically reapply vhost on hs off for unreal32. [ #00]
Provided by Adam <Adam@SubZeroIRC.net> - 2009
01/28 F Added internal support for +j channelmodes. [#1001]
diff --git a/Changes.lang b/Changes.lang
index d2588c87e..08f0769c7 100644
--- a/Changes.lang
+++ b/Changes.lang
@@ -1,7 +1,7 @@
Anope Version 1.8 SVN
-------------------
*** New Strings:
-
+ HOST_OFF
*** Mod Strings:
*** Del Strings:
diff --git a/lang/cat.l b/lang/cat.l
index 89dfb8414..5bc4cb398 100644
--- a/lang/cat.l
+++ b/lang/cat.l
@@ -6752,6 +6752,8 @@ HOST_DEL_SYNTAX
# HostServ Help messages
#
###########################################################################
+HOST_OFF
+ Your vhost was removed and the normal cloaking restored.
HOST_OFF_UNREAL
Your vhost was removed. To re-enable the standard host cloaking, type /mode %s +%s
HOST_NO_VIDENT
diff --git a/lang/de.l b/lang/de.l
index 988d9e10a..3096f35a0 100644
--- a/lang/de.l
+++ b/lang/de.l
@@ -6746,6 +6746,8 @@ HOST_DEL
vHost fьr %s wurde gelцscht.
HOST_DEL_SYNTAX
Syntax: %R%s DEL Nickname.
+HOST_OFF
+ Your vhost was removed and the normal cloaking restored.
HOST_OFF_UNREAL
Dein vHost wurde gelцscht. Um die normale Host-Verschlьsselung zu reaktivieren, tippe /mode %s +%s
HOST_NO_VIDENT
diff --git a/lang/en_us.l b/lang/en_us.l
index 85b6b0331..63212af6e 100644
--- a/lang/en_us.l
+++ b/lang/en_us.l
@@ -6378,6 +6378,8 @@ HOST_DEL
vhost for %s removed.
HOST_DEL_SYNTAX
Syntax: %R%s del <nick>.
+HOST_OFF
+ Your vhost was removed and the normal cloaking restored.
HOST_OFF_UNREAL
Your vhost was removed. To re-enable the standard host cloaking, type /mode %s +%s
HOST_NO_VIDENT
diff --git a/lang/es.l b/lang/es.l
index 6e1de27ad..6ff9640bf 100644
--- a/lang/es.l
+++ b/lang/es.l
@@ -6721,6 +6721,8 @@ HOST_DEL_SYNTAX
# HostServ Help messages
#
###########################################################################
+HOST_OFF
+ Your vhost was removed and the normal cloaking restored.
HOST_OFF_UNREAL
Tu vhost ha sido removido. Para habilitar nuevamente el enmascaramiento de hosts tipea /mode %s +%s
HOST_NO_VIDENT
diff --git a/lang/fr.l b/lang/fr.l
index 84f451565..5b4dc6d38 100644
--- a/lang/fr.l
+++ b/lang/fr.l
@@ -6804,6 +6804,8 @@ HOST_DEL_SYNTAX
# HostServ Help messages
#
###########################################################################
+HOST_OFF
+ Your vhost was removed and the normal cloaking restored.
HOST_OFF_UNREAL
Votre vhost a йtй enlevйe. Pour rйactiver la protection de votre IP, tapez /mode %s +%s
HOST_NO_VIDENT
diff --git a/lang/gr.l b/lang/gr.l
index ead47e17a..0466d1a5a 100644
--- a/lang/gr.l
+++ b/lang/gr.l
@@ -6635,6 +6635,8 @@ HOST_DEL_SYNTAX
# HostServ Help messages
#
###########################################################################
+HOST_OFF
+ Your vhost was removed and the normal cloaking restored.
HOST_OFF_UNREAL
Your vhost was removed. To re-enable the standard host cloaking, type /mode %s +%s
HOST_NO_VIDENT
diff --git a/lang/hun.l b/lang/hun.l
index 2ccde778e..fbb129d2c 100644
--- a/lang/hun.l
+++ b/lang/hun.l
@@ -6538,6 +6538,8 @@ HOST_DEL
%s vhosztja tцrцlve lett.
HOST_DEL_SYNTAX
Szintaktika: %R%s del <nick>.
+HOST_OFF
+ Your vhost was removed and the normal cloaking restored.
HOST_OFF_UNREAL
A vhostod kikapcsolva. Hogy ъjra hasznбld az alap
hosztrejtйst нrd be /mode %s +%s
diff --git a/lang/it.l b/lang/it.l
index 5a63f19b1..3154ca82f 100644
--- a/lang/it.l
+++ b/lang/it.l
@@ -6602,6 +6602,8 @@ HOST_DEL
Il vhost di %s и stato rimosso.
HOST_DEL_SYNTAX
Sintassi: %R%s del <nick>.
+HOST_OFF
+ Your vhost was removed and the normal cloaking restored.
HOST_OFF_UNREAL
Il tuo vhost и stato rimosso. Per riattivare il mascheramento standard del tuo host o IP, digita /mode %s +%s
HOST_NO_VIDENT
diff --git a/lang/nl.l b/lang/nl.l
index 4930d59df..4d135493c 100644
--- a/lang/nl.l
+++ b/lang/nl.l
@@ -6563,6 +6563,8 @@ HOST_DEL
vhost voor %s verwijderd.
HOST_DEL_SYNTAX
Gebruik: %R%s del <nick>.
+HOST_OFF
+ Your vhost was removed and the normal cloaking restored.
HOST_OFF_UNREAL
Je vhost is verwijderd. Om standaard host verberging weer aan te schakelen, type je /mode %s +%s
HOST_NO_VIDENT
diff --git a/lang/pl.l b/lang/pl.l
index cc9b14656..9111557c9 100644
--- a/lang/pl.l
+++ b/lang/pl.l
@@ -7624,7 +7624,8 @@ HOST_DEL
HOST_DEL_SYNTAX
Skіadnia: %R%s DEL <nick>.
-
+HOST_OFF
+ Your vhost was removed and the normal cloaking restored.
HOST_OFF_UNREAL
Twуj vhost zostaі usuniкty. Aby wі±czyж standardowe ukrywanie hosta wpisz /mode %s +%s
diff --git a/lang/pt.l b/lang/pt.l
index 43416a06c..c3822d71f 100644
--- a/lang/pt.l
+++ b/lang/pt.l
@@ -6527,6 +6527,8 @@ HOST_DEL
vhost para %s removido.
HOST_DEL_SYNTAX
Sintaxe: %R%s del <nick>.
+HOST_OFF
+ Your vhost was removed and the normal cloaking restored.
HOST_OFF_UNREAL
Seu vhost foi removido. Para reabilitar a encriptaзгo padrгo de host, digite /mode %s +%s
HOST_NO_VIDENT
diff --git a/lang/ru.l b/lang/ru.l
index 2ad0d143e..0fd02575a 100644
--- a/lang/ru.l
+++ b/lang/ru.l
@@ -6665,6 +6665,8 @@ HOST_DEL
Виртуальный хост для %s удален.
HOST_DEL_SYNTAX
Синтаксис: %R%s del <ник>.
+HOST_OFF
+ Your vhost was removed and the normal cloaking restored.
HOST_OFF_UNREAL
Ваш виртуальный хост деактивирован. Для ре-активации используйте: /MODE %s +%s
HOST_NO_VIDENT
@@ -6804,4 +6806,4 @@ OPER_UMODE_UNSUPPORTED
IRCd вашей сети не поддерживает возможности команды UMODE.
OPER_SUPER_ADMIN_NOT_ENABLED
- Директива SuperAdmin отключена в конфигурационном файле сервисов. \ No newline at end of file
+ Директива SuperAdmin отключена в конфигурационном файле сервисов.
diff --git a/lang/tr.l b/lang/tr.l
index 4bb528e82..d50318c00 100644
--- a/lang/tr.l
+++ b/lang/tr.l
@@ -6562,6 +6562,8 @@ HOST_DEL_SYNTAX
# HostServ Help messages
#
###########################################################################
+HOST_OFF
+ Your vhost was removed and the normal cloaking restored.
HOST_OFF_UNREAL
Your vhost was removed. To re-enable the standard host cloaking, type /mode %s +%s
HOST_NO_VIDENT
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c
index 373a595c8..3eeb31bbd 100644
--- a/src/protocol/unreal32.c
+++ b/src/protocol/unreal32.c
@@ -534,12 +534,16 @@ void unreal_cmd_vhost_off(User * u)
if (UseSVS2MODE) {
send_cmd(s_HostServ, "%s %s -xt", send_token("SVS2MODE", "v"),
u->nick);
+ send_cmd(s_HostServ, "%s %s +x", send_token("SVS2MODE", "v"),
+ u->nick);
} else {
send_cmd(s_HostServ, "%s %s -xt", send_token("SVSMODE", "n"),
u->nick);
- }
- notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick,
- myIrcd->vhostchar);
+ send_cmd(s_HostServ, "%s %s +x", send_token("SVSMODE", "n"),
+ u->nick);
+
+ }
+ notice_lang(s_HostServ, u, HOST_OFF);
}
void unreal_cmd_akill(char *user, char *host, char *who, time_t when,