Bug #255

avatar

Reconnect / exception if an user joins on an anonynous IRC channel

Added by Mirco Bauer 5474 days ago. Updated 5474 days ago.

Status:Closed Start:12/25/2009
Priority:High Due date:
Assigned to:avatarMirco Bauer % Done:

100%

Category:- Spent time: -
Target version:-
Votes: 0

Description

IRCnet supports an anonymous channel mode. This mode will make all people anonymous by replacing their real nickname, ident and host with fake ones. Sadly it replaces those with the same value for ALL channel users. This leads to an exception in the IRC library, like this:
2009-12-25 22:01:51,288 [IrcProtocolManager (irc.fu-berlin.de:6667) listener] DEBUG CHANNELSYNCING - anonymous joins channel: !5IHOLtest123
2009-12-25 22:01:51,289 [IrcProtocolManager (irc.fu-berlin.de:6667) listener] ERROR Smuxi.Engine.IrcProtocolManager - _Run(): exception in _Listen() occurred!
System.ArgumentException: Key duplication when adding: anonymous
  at System.Collections.Hashtable.PutImpl (System.Object key, System.Object value, Boolean overwrite) [0x00137] in /tmp/buildd/mono-2.4.3+dfsg/mcs/class/corlib/System.Collections/Hashtable.cs:823 
  at System.Collections.Hashtable.Add (System.Object key, System.Object value) [0x00000] in /tmp/buildd/mono-2.4.3+dfsg/mcs/class/corlib/System.Collections/Hashtable.cs:466 
  at System.Collections.Hashtable+SyncHashtable.Add (System.Object key, System.Object value) [0x00012] in /tmp/buildd/mono-2.4.3+dfsg/mcs/class/corlib/System.Collections/Hashtable.cs:1231 
  at Meebey.SmartIrc4net.IrcClient._Event_JOIN (Meebey.SmartIrc4net.IrcMessageData ircdata) [0x00000] 
  at Meebey.SmartIrc4net.IrcClient._HandleEvents (Meebey.SmartIrc4net.IrcMessageData ircdata) [0x00000] 
  at Meebey.SmartIrc4net.IrcClient._Worker (System.Object sender, Meebey.SmartIrc4net.ReadLineEventArgs e) [0x00000] 
  at (wrapper delegate-invoke) Meebey.SmartIrc4net.ReadLineEventHandler:invoke_void__this___object_ReadLineEventArgs (object,Meebey.SmartIrc4net.ReadLineEventArgs)
  at Meebey.SmartIrc4net.IrcConnection.ReadLine (Boolean blocking) [0x00000] 
  at Meebey.SmartIrc4net.IrcConnection.Listen (Boolean blocking) [0x00000] 
  at Meebey.SmartIrc4net.IrcConnection.Listen () [0x00000] 
  at Smuxi.Engine.IrcProtocolManager._Listen () [0x00000] in /home/meebey/data/projects/c-sharp/smuxi/git/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:1599 

Related issues

blocks Smuxi - Bug #254 Reconnect / exception if an user joins on an anonynous IRC channel Closed 12/25/2009

Associated revisions

Revision 4574d5e8d01d7ec09ffa2d85a3c4c74b3820179d
Added by Mirco Bauer 5474 days ago

Added a hack for IRCnet's anonymous channel mode feature to broke the channel sync feature. (closes: #255)

History

Updated by Mirco Bauer 5474 days ago

avatar
  • Project changed from Smuxi to SmartIrc4net
  • Category deleted (Other)
  • Target version deleted (0.8)

Updated by Mirco Bauer 5474 days ago

avatar
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF