mirror of
https://github.com/znc/znc.git
synced 2026-07-03 16:31:49 +02:00
Add __str__ methods to CModule, CUser, CChan, and CNick in modpython
This commit is contained in:
@@ -113,6 +113,8 @@ class ModuleNV(collections.MutableMapping):
|
||||
raise NotImplemented
|
||||
|
||||
class Module:
|
||||
def __str__(self):
|
||||
return self.GetModName()
|
||||
def OnLoad(self, sArgs, sMessage):
|
||||
return True
|
||||
def _GetSubPages(self):
|
||||
|
||||
Reference in New Issue
Block a user