Skip to content
master
Go to file
Code

Latest commit

…syncing

If the active channel syncing feature is enabled then an ArgumentException
might be thrown in IrcClient._Event_JOIN() if we are already joined to that
channel. Usually this should never happen but there are 2 independent reports
of running into the said ArgumentException with the following stack trace:

    System.ArgumentException: Item has already been added. Key in dictionary: '#channel'  Key being added: '#channel'
       at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
       at System.Collections.Hashtable.SyncHashtable.Add(Object key, Object value)
       at Meebey.SmartIrc4net.IrcClient._Event_JOIN(IrcMessageData ircdata) in c:\Users\User\Documents\Visual Studio 2013\remoteLibrary\SmartIrc4net\src\IrcClient\IrcClient.cs:line 2171
       at Meebey.SmartIrc4net.IrcClient._HandleEvents(IrcMessageData ircdata) in c:\Users\User\Documents\Visual Studio 2013\remoteLibrary\SmartIrc4net\src\IrcClient\IrcClient.cs:line 1471
       at Meebey.SmartIrc4net.IrcClient._Worker(Object sender, ReadLineEventArgs e) in c:\Users\User\Documents\Visual Studio 2013\remoteLibrary\SmartIrc4net\src\IrcClient\IrcClient.cs:line 1169
       at Meebey.SmartIrc4net.ReadLineEventHandler.Invoke(Object sender, ReadLineEventArgs e)
       at Meebey.SmartIrc4net.IrcConnection.ReadLine(Boolean blocking) in c:\Users\User\Documents\Visual Studio 2013\remoteLibrary\SmartIrc4net\src\IrcConnection\IrcConnection.cs:line 902
       at Meebey.SmartIrc4net.IrcConnection.Listen(Boolean blocking) in c:\Users\User\Documents\Visual Studio 2013\remoteLibrary\SmartIrc4net\src\IrcConnection\IrcConnection.cs:line 841
       at Meebey.SmartIrc4net.IrcConnection.Listen() in c:\Users\User\Documents\Visual Studio 2013\remoteLibrary\SmartIrc4net\src\IrcConnection\IrcConnection.cs:line 855

To fix this issue we are now checking if the channel already exists. (closes: GH-19)
02b0171

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README

SmartIrc4net
----------------
What is this?
SmartIrc4net is a C# class for communication with IRC networks, which
conforms to the RFC 2812 (IRC Protocol).
It's orignally a port of SmartIRC (written in PHP),
but it's much more now (I will backport it to PHP5 some day).
SmartIrc4net an API that handles all IRC protocol messages and is designed for
creating IRC bots or even GUI clients.

Please report bugs to:
https://github.com/meebey/SmartIrc4net/issues

Project Homepage:
https://www.meebey.net/projects/smartirc4net/

files included in SmartIrc4net
--------------------------
FEATURES
A full list of features that SmartIrc4net includes

CHANGELOG
Listing of changes between all versions.

README
This file

LICENSE
The license of SmartIrc4net.

CREDITS
Creditlist with people that work/help on SmartIrc4net.

src/*.cs
The SmartIrc4net sourcecode

examples/
Some examples how SmartIrc4net can be used.

docs/
Documentation of SmartIrc4net.

CSharpBuilder/
Project files for Borlands C# Builder.

MonoDevelop/
Project files for MonoDevelop.
You can’t perform that action at this time.