Script modules should also use the new name of translation methods

This commit is contained in:
Alexey Sokolov
2016-09-12 00:10:57 +01:00
parent 3f1c27250c
commit 6a8fbbc933
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ class pyeval(znc.Module, InteractiveInterpreter):
def OnLoad(self, args, message):
if not self.GetUser().IsAdmin():
message.s = self.t(
message.s = self.t_s(
'You must have admin privileges to load this module.')
return False
@@ -78,4 +78,4 @@ class pyeval(znc.Module, InteractiveInterpreter):
del self.locals['client']
del self.locals['network']
pyeval.description = pyeval.t('Evaluates python code')
pyeval.description = pyeval.t_s('Evaluates python code')