diff options
author | Uli Schlachter <psychon@znc.in> | 2015-03-24 21:57:14 +0100 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2015-03-24 21:57:14 +0100 |
commit | 55961e7d79081d7a57bcf54bdd1f518c00039124 (patch) | |
tree | 92f815da0857892ce0f684b50f79f9c5b62efc2f /src | |
parent | e8b35be19f37f9e24f7814b467b94179dbfb9236 (diff) |
Code generator: Implement errorcopy and eventcopy
Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src')
-rwxr-xr-x | src/extensions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extensions.py b/src/extensions.py index f50637b..c7a1afe 100755 --- a/src/extensions.py +++ b/src/extensions.py @@ -20,10 +20,10 @@ class Module(object): for elt in list(root): tag = elt.tag - if tag == "error" or tag == "event": + if tag == "error" or tag == "errorcopy" or tag == "event" or tag == "eventcopy": name = elt.get("name") number = int(elt.get("number")) - if tag == "error": + if tag == "error" or tag == "errorcopy": self.errors[number] = name else: self.events[number] = name |