1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 07:33:13 +02:00

Fix part one of #1010, reported by DukePyrolator. (Language settings are not respected in message sending.) Thanks!

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2035 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
rburchell
2009-02-13 15:39:33 +00:00
parent 4310c712c3
commit e616889a78
+1 -1
View File
@@ -312,7 +312,7 @@ const char *getstring(NickAlias *na, int index)
int langidx = NSDefLanguage;
// If they are registered (na->nc), and NOT forbidden
if (na->nc && !na->status & NS_FORBIDDEN)
if (na->nc && !(na->status & NS_FORBIDDEN))
langidx = na->nc->language; // set language to their nickcore's language
return langtexts[langidx][index];