From: <mm...@us...> - 2007-10-23 00:42:35
|
Revision: 293 http://libirc.svn.sourceforge.net/libirc/?rev=293&view=rev Author: mm_202 Date: 2007-10-22 17:42:33 -0700 (Mon, 22 Oct 2007) Log Message: ----------- Some minor typo fixes. Modified Paths: -------------- trunk/libirc/include/IRCClient.h trunk/libirc/src/irClientEvents.cpp Modified: trunk/libirc/include/IRCClient.h =================================================================== --- trunk/libirc/include/IRCClient.h 2007-10-16 21:22:43 UTC (rev 292) +++ trunk/libirc/include/IRCClient.h 2007-10-23 00:42:33 UTC (rev 293) @@ -130,7 +130,7 @@ virtual bool kick ( std::string user, std::string channel, std::string reason ); virtual bool mode ( std::string theMode, std::string target, std::string option ); - // user modes in chanel + // user modes in channel virtual bool ban ( std::string mask, std::string channel ); virtual bool unban ( std::string mask, std::string channel ); virtual bool voice ( std::string user, std::string channel ); Modified: trunk/libirc/src/irClientEvents.cpp =================================================================== --- trunk/libirc/src/irClientEvents.cpp 2007-10-16 21:22:43 UTC (rev 292) +++ trunk/libirc/src/irClientEvents.cpp 2007-10-23 00:42:33 UTC (rev 293) @@ -129,7 +129,7 @@ std::string mode = info.params[1]; - // figure out who the message is from, is it form a channel or from a dude + // figure out who the message is from, is it form a channel or from a user if (who[0] == '#' ) { if (string_util::charExists(mode,'b')) // it's a ban! @@ -156,7 +156,7 @@ modeInfo.from = info.source; modeInfo.mode = mode; - if (info.params.size() > 1) // if there is mor then one param then it's a mode change for a user + if (info.params.size() > 1) // if there is more than one param then it's a mode change for a user { modeInfo.eventType = eIRCChannelUserModeSet; modeInfo.message = info.getAsString(2); @@ -165,7 +165,7 @@ modeInfo.eventType = eIRCChannelModeSet; } } - else // it's amode for a user ( like US ) + else // it's a mode for a user (like us) { modeInfo.eventType = eIRCUserModeSet; modeInfo.mode = info.params[1]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |