gcfavorites / fnordbot

Automatically exported from code.google.com/p/fnordbot
0 stars 0 forks source link

!toptalk doesnt work #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
got exception 
2007-04-27 09:46:42,021 [2996:INFO] Listing top talkers on #craYon...
2007-04-27 09:46:42,021 [2996:ERROR] Error in
statplugin.onpublicmessage('WorkCore','#craYon', '!toptalk')
System.ArgumentOutOfRangeException: Specified argument was out of the range
of valid values.
Parameter name: Index was out of range.  Must be non-negative and less than
the size of the collection.
   at
System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32
index)
   at NielsRask.Stat.StatCollection.get_Item(Int32 i) in c:\documents and
settings\niels.itide\my documents\visual studio
projects\fnordbot\stat\plugin.cs:line 234
   at NielsRask.Stat.StatCollection.GetTop(Int32 count) in c:\documents and
settings\niels.itide\my documents\visual studio
projects\fnordbot\stat\plugin.cs:line 210
   at NielsRask.Stat.StatPlugin.bot_OnPublicMessage(User user, String
channel, String message) in c:\documents and settings\niels.itide\my
documents\visual studio projects\fnordbot\stat\plugin.cs:line 75

Original issue reported on code.google.com by niels.r...@gmail.com on 27 Apr 2007 at 7:49

GoogleCodeExporter commented 9 years ago
broke when requesting top10 with less than 10 entries

Original comment by niels.r...@gmail.com on 27 Apr 2007 at 4:20