133
134
135
136
137
138
139
140
141
142
143
144
145
146
|
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
|
+
+
+
+
+
+
+
+
+
+
+
+
|
}
- (void)sendMessage: (OFString*)msg
toUser: (IRCUser*)user
{
[self sendLineWithFormat: @"PRIVMSG %@ :%@", user.nickname, msg];
}
- (void)sendNotice: (OFString*)notice
toUser: (IRCUser*)user
{
[self sendLineWithFormat: @"NOTICE %@ :%@", user.nickname, notice];
}
- (void)sendNotice: (OFString*)notice
toChannel: (IRCChannel*)channel
{
[self sendLineWithFormat: @"NOTICE %@ :%@", channel.name, notice];
}
- (void)handleConnection
{
OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
OFString *line;
OFArray *split;
|