ObjIRC  Check-in [960f920c6d]

Overview
Comment:Revert "fix" for parsing JOIN as it broke stuff.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 960f920c6d80ed3728396045a871b3b3ca175bd7bcaf933f2fffe0245b486df2
User & Date: js on 2011-09-09 16:53:20
Other Links: manifest | tags
Context
2011-09-09
17:00
Add support for sending messages. check-in: a372ef7d50 user: js tags: trunk
16:53
Revert "fix" for parsing JOIN as it broke stuff. check-in: 960f920c6d user: js tags: trunk
16:50
Rename splitted to split. check-in: 5e1d907b6c user: js tags: trunk
Changes

Modified src/IRCConnection.m from [df4362f571] to [32c0490d1d].

177
178
179
180
181
182
183


184
185
186
187
188
189
190
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192







+
+







			OFString *who = [split objectAtIndex: 0];
			OFString *where = [split objectAtIndex: 2];
			IRCUser *user;
			IRCChannel *channel;

			who = [who substringWithRange:
			    of_range(1, who.length - 1)];
			where = [where substringWithRange:
			    of_range(1, where.length - 1)];
			user = [IRCUser IRCUserWithString: who];

			if ([who hasPrefix:
			    [nickname stringByAppendingString: @"!"]]) {
				channel = [IRCChannel channelWithName: where];
				[channels setObject: channel
					     forKey: where];