summaryrefslogtreecommitdiff
path: root/lib/rbot/ircsocket.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-12 19:17:24 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-12 19:17:24 +0000
commit8efdfd2651a720e0dc1681e716d0a23b0429e4fd (patch)
treee245fdc7600e6b634c874972f3e070d5055fe372 /lib/rbot/ircsocket.rb
parent51a86affea8ee35e5fcc456833aa1493377180ec (diff)
Irc::IrcSocket -> Irc::Socket
Diffstat (limited to 'lib/rbot/ircsocket.rb')
-rw-r--r--lib/rbot/ircsocket.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbot/ircsocket.rb b/lib/rbot/ircsocket.rb
index 9bdf43a0..0c669abd 100644
--- a/lib/rbot/ircsocket.rb
+++ b/lib/rbot/ircsocket.rb
@@ -212,7 +212,7 @@ module Irc
# wrapped TCPSocket for communication with the server.
# emulates a subset of TCPSocket functionality
- class IrcSocket
+ class Socket
MAX_IRC_SEND_PENALTY = 10
@@ -262,7 +262,7 @@ module Irc
# server_list:: list of servers to connect to
# host:: optional local host to bind to (ruby 1.7+ required)
- # create a new IrcSocket
+ # create a new Irc::Socket
def initialize(server_list, host, sendq_delay=2, sendq_burst=4, opts={})
@server_list = server_list.dup
@server_uri = nil