diff options
author | adam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-07-13 02:50:05 +0000 |
---|---|---|
committer | adam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-07-13 02:50:05 +0000 |
commit | 1873d67093bec728ce7851627786d06ab9d6d948 (patch) | |
tree | 522ad8df8bbcf5d7653718dcaf71784221c4601c | |
parent | 2629a580a1349f385f95070a123d4126efbd70a0 (diff) |
Fix some syntax error replies to use syntax_error
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2378 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | lang/cat.l | 4 | ||||
-rw-r--r-- | lang/de.l | 4 | ||||
-rw-r--r-- | lang/en_us.l | 4 | ||||
-rw-r--r-- | lang/es.l | 4 | ||||
-rw-r--r-- | lang/fr.l | 4 | ||||
-rw-r--r-- | lang/gr.l | 4 | ||||
-rw-r--r-- | lang/hun.l | 4 | ||||
-rw-r--r-- | lang/it.l | 4 | ||||
-rw-r--r-- | lang/nl.l | 4 | ||||
-rw-r--r-- | lang/pl.l | 4 | ||||
-rw-r--r-- | lang/pt.l | 4 | ||||
-rw-r--r-- | lang/ru.l | 4 | ||||
-rw-r--r-- | lang/tr.l | 4 | ||||
-rw-r--r-- | src/core/hs_set.c | 4 | ||||
-rw-r--r-- | src/core/hs_setall.c | 4 | ||||
-rw-r--r-- | src/core/ms_rsend.c | 2 |
16 files changed, 31 insertions, 31 deletions
diff --git a/lang/cat.l b/lang/cat.l index 18cfb3cac..60e7f4668 100644 --- a/lang/cat.l +++ b/lang/cat.l @@ -6733,9 +6733,9 @@ HOST_SET_IDENTTOOLONG HOST_NOREG User %s not found in the nickserv db. HOST_SET_SYNTAX - Syntax %R%s set <nick> <hostmask>. + SET <nick> <hostmask>. HOST_SETALL_SYNTAX - Syntax %R%s setall <nick> <hostmask>. + SETALL <nick> <hostmask>. HOST_DENIED Access Denied. HOST_NOT_ASSIGNED @@ -6738,9 +6738,9 @@ HOST_SET_IDENTTOOLONG HOST_NOREG User %s wurde nicht in der NickServ Datenbank gefunden. HOST_SET_SYNTAX - Syntax %R%s SET Nickname Hostmaske. + SET Nickname Hostmaske. HOST_SETALL_SYNTAX - Syntax %R%s SETALL Nickname Hostmaske. + SETALL Nickname Hostmaske. HOST_DENIED Zugriff verweigert. HOST_NOT_ASSIGNED diff --git a/lang/en_us.l b/lang/en_us.l index a40b61c7e..88d3fd6c5 100644 --- a/lang/en_us.l +++ b/lang/en_us.l @@ -6366,9 +6366,9 @@ HOST_SET_IDENTTOOLONG HOST_NOREG User %s not found in the nickserv db. HOST_SET_SYNTAX - Syntax %R%s set <nick> <hostmask>. + SET <nick> <hostmask>. HOST_SETALL_SYNTAX - Syntax %R%s setall <nick> <hostmask>. + SETALL <nick> <hostmask>. HOST_DENIED Access Denied. HOST_NOT_ASSIGNED @@ -6702,9 +6702,9 @@ HOST_SET_IDENTTOOLONG HOST_NOREG Usuario %s no encontrado en la base de datos de nickserv. HOST_SET_SYNTAX - Sintaxis %R%s set <nick> <hostmask>. + SET <nick> <hostmask>. HOST_SETALL_SYNTAX - Sintaxis %R%s setall <nick> <hostmask>. + SETALL <nick> <hostmask>. HOST_DENIED Acceso Denegado. HOST_NOT_ASSIGNED @@ -6784,9 +6784,9 @@ HOST_SET_IDENTTOOLONG HOST_NOREG L'utilisateur %s n'a pas été trouvé dans la base de données de NickServ. HOST_SET_SYNTAX - Syntaxe %R%s set <pseudo> <hostmask>. + SET <pseudo> <hostmask>. HOST_SETALL_SYNTAX - Syntaxe %R%s setall <pseudo> <hostmask>. + SETALL <pseudo> <hostmask>. HOST_DENIED Accés refusé. HOST_NOT_ASSIGNED @@ -6619,9 +6619,9 @@ HOST_SET_IDENTTOOLONG HOST_NOREG User %s not found in the nickserv db. HOST_SET_SYNTAX - Syntax %R%s set <nick> <hostmask>. + SET <nick> <hostmask>. HOST_SETALL_SYNTAX - Syntax %R%s setall <nick> <hostmask>. + SETALL <nick> <hostmask>. HOST_DENIED Access Denied. HOST_NOT_ASSIGNED diff --git a/lang/hun.l b/lang/hun.l index 02b29d078..b99ddec23 100644 --- a/lang/hun.l +++ b/lang/hun.l @@ -6525,9 +6525,9 @@ HOST_SET_IDENTTOOLONG HOST_NOREG %s felhasználó nincs a nickserv db fájlban. HOST_SET_SYNTAX - Syntax %R%s set <nick> <hosztmaszk>. + SET <nick> <hosztmaszk>. HOST_SETALL_SYNTAX - Syntax %R%s setall <nick> <hosztmaszk>. + SETALL <nick> <hosztmaszk>. HOST_DENIED Hozzáférés megtagadva. HOST_NOT_ASSIGNED @@ -6590,9 +6590,9 @@ HOST_SET_IDENTTOOLONG HOST_NOREG L'utente %s non è presente nel database di NickServ. HOST_SET_SYNTAX - Sintassi: %R%s set <nick> <hostmask>. + SET <nick> <hostmask>. HOST_SETALL_SYNTAX - Sintassi: %R%s setall <nick> <hostmask>. + SETALL <nick> <hostmask>. HOST_DENIED Accesso negato. HOST_NOT_ASSIGNED @@ -6550,9 +6550,9 @@ HOST_SET_IDENTTOOLONG HOST_NOREG Gebruiker %s niet gevonden in de nickserv database. HOST_SET_SYNTAX - Gebruik %R%s set <nick> <hostmask>. + SET <nick> <hostmask>. HOST_SETALL_SYNTAX - Gebruik %R%s setall <nick> <hostmask>. + SETALL <nick> <hostmask>. HOST_DENIED Toegang geweigerd. HOST_NOT_ASSIGNED @@ -7604,10 +7604,10 @@ HOST_NOREG Nie znaleziono %s w bazie serwisu NickServ. HOST_SET_SYNTAX - Sk³adnia: %R%s SET <nick> <maska-hosta>. + SET <nick> <maska-hosta>. HOST_SETALL_SYNTAX - Sk³adnia: %R%s SETALL <nick> <maska-hosta>. + SETALL <nick> <maska-hosta>. HOST_DENIED Brak dostêpu. @@ -6515,9 +6515,9 @@ HOST_SET_IDENTTOOLONG HOST_NOREG Usuário %s não encontrado na DB do NickServ. HOST_SET_SYNTAX - Sintaxe: %R%s set <nick> <hostmask>. + SET <nick> <hostmask>. HOST_SETALL_SYNTAX - Sintaxe: %R%s setall <nick> <hostmask>. + SETALL <nick> <hostmask>. HOST_DENIED Acesso Negado. HOST_NOT_ASSIGNED @@ -6655,9 +6655,9 @@ HOST_SET_IDENTTOOLONG HOST_NOREG Ïîëüçîâàòåëü %s íå íàéäåí â ñåðâèñíîé áàçå äàííûõ íèêîâ. HOST_SET_SYNTAX - Ñèòàêñèñ: %R%s SET <íèê> <õîñòìàñêà>. + SET <íèê> <õîñòìàñêà>. HOST_SETALL_SYNTAX - Ñèíòàêñèñ %R%s SETALL <íèê> <õîñòìàñêà>. + SETALL <íèê> <õîñòìàñêà>. HOST_DENIED Äîñòóï çàïðåùåí. HOST_NOT_ASSIGNED @@ -6545,9 +6545,9 @@ HOST_SET_IDENTTOOLONG HOST_NOREG User %s not found in the nickserv db. HOST_SET_SYNTAX - Syntax %R%s set <nick> <hostmask>. + SET <nick> <hostmask>. HOST_SETALL_SYNTAX - Syntax %R%s setall <nick> <hostmask>. + SETALL <nick> <hostmask>. HOST_DENIED Access Denied. HOST_NOT_ASSIGNED diff --git a/src/core/hs_set.c b/src/core/hs_set.c index 2475a2999..b789413cd 100644 --- a/src/core/hs_set.c +++ b/src/core/hs_set.c @@ -80,7 +80,7 @@ int myDoSet(User * u) char *vIdent = NULL; if (!nick || !rawhostmask) { - notice_lang(s_HostServ, u, HOST_SET_SYNTAX, s_HostServ); + syntax_error(s_HostServ, u, "SET", HOST_SET_SYNTAX); free(hostmask); return MOD_CONT; } @@ -89,7 +89,7 @@ int myDoSet(User * u) if (vIdent) { rawhostmask = myStrGetTokenRemainder(rawhostmask, '@', 1); /* get the remaining string */ if (!rawhostmask) { - notice_lang(s_HostServ, u, HOST_SET_SYNTAX, s_HostServ); + syntax_error(s_HostServ, u, "SET", HOST_SET_SYNTAX); free(vIdent); free(hostmask); return MOD_CONT; diff --git a/src/core/hs_setall.c b/src/core/hs_setall.c index 70944bee5..5d42b2b9c 100644 --- a/src/core/hs_setall.c +++ b/src/core/hs_setall.c @@ -82,7 +82,7 @@ int do_setall(User * u) char *vIdent = NULL; if (!nick || !rawhostmask) { - notice_lang(s_HostServ, u, HOST_SETALL_SYNTAX, s_HostServ); + syntax_error(s_HostServ, u, "SETALL", HOST_SETALL_SYNTAX); free(hostmask); return MOD_CONT; } @@ -91,7 +91,7 @@ int do_setall(User * u) if (vIdent) { rawhostmask = myStrGetTokenRemainder(rawhostmask, '@', 1); /* get the remaining string */ if (!rawhostmask) { - notice_lang(s_HostServ, u, HOST_SETALL_SYNTAX, s_HostServ); + syntax_error(s_HostServ, u, "SETALL", HOST_SETALL_SYNTAX); free(vIdent); free(hostmask); return MOD_CONT; diff --git a/src/core/ms_rsend.c b/src/core/ms_rsend.c index fc7642d1e..b659d2df5 100644 --- a/src/core/ms_rsend.c +++ b/src/core/ms_rsend.c @@ -82,7 +82,7 @@ int do_rsend(User * u) /* check if the variables are here */ if (!name || !text) { - notice_lang(s_MemoServ, u, MEMO_RSEND_SYNTAX); + syntax_error(s_MemoServ, u, "RSEND", MEMO_RSEND_SYNTAX); return MOD_CONT; } |