Overview
Comment: | Fix adding channels to the list of joined channels. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
a515b09ef043084c3329dba86587a40b |
User & Date: | js on 2011-10-05 19:26:22 |
Other Links: | manifest | tags |
Context
2011-10-05
| ||
19:40 | Keep track of users in a channel. check-in: 5f51d55981 user: js tags: trunk | |
19:26 | Fix adding channels to the list of joined channels. check-in: a515b09ef0 user: js tags: trunk | |
2011-09-22
| ||
23:39 | Adjust to recent ObjFW changes. check-in: e398c849f2 user: js tags: trunk | |
Changes
Modified src/IRCConnection.m from [5c27b6dee8] to [bf2838c044].
︙ | ︙ | |||
213 214 215 216 217 218 219 | if ([action isEqual: @"JOIN"] && split.count == 3) { OFString *who = [split objectAtIndex: 0]; OFString *where = [split objectAtIndex: 2]; IRCUser *user; IRCChannel *channel; who = [who substringWithRange: of_range(1, who.length - 1)]; | < < | 213 214 215 216 217 218 219 220 221 222 223 224 225 226 | if ([action isEqual: @"JOIN"] && split.count == 3) { OFString *who = [split objectAtIndex: 0]; OFString *where = [split objectAtIndex: 2]; IRCUser *user; IRCChannel *channel; who = [who substringWithRange: of_range(1, who.length - 1)]; user = [IRCUser IRCUserWithString: who]; if ([who hasPrefix: [nickname stringByAppendingString: @"!"]]) { channel = [IRCChannel channelWithName: where]; [channels setObject: channel forKey: where]; } else |
︙ | ︙ |