Anonymous avatar Anonymous committed 54f4681

* irclib.py (numeric_events): Renamed numeric code 332 from topic to currenttopic (the message when "/topic <chan>" is sent), so it doesn't collide with TOPIC (the message when the topic is set).

Comments (0)

Files changed (2)

+2005-11-03  Keltus <keltus@users.sourceforge.net>
+	* irclib.py (numeric_events): Renamed numeric code 332 from topic
+	to currenttopic (the message when "/topic <chan>" is sent), so it
+	doesn't collide with TOPIC (the message when the topic is set).
+
 2005-08-27  Keltus <keltus@users.sourceforge.net>
 	* irclib.py (ServerConnection.disconnect): Fixed infinitely
 	recursive calls when disconnecting with a failed connection. Bug
                                 command, prefix, target, m)
                         self._handle_event(Event(command, prefix, target, m))
                         if command == "ctcp" and m[0] == "ACTION":
-                            # Emit an action event too. We're generous today.
                             self._handle_event(Event("action", prefix, target, m[1:]))
                     else:
                         if DEBUG:
     "324": "channelmodeis",
     "329": "channelcreate",
     "331": "notopic",
-    "332": "topic",
+    "332": "currenttopic",
     "333": "topicinfo",
     "341": "inviting",
     "342": "summoning",
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.