- Timestamp:
- Mar 31, 2020, 5:02:02 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/soju.1.scd
r178 r190 37 37 a channel, you need to use the suffix too: _/join #channel/network_. Same 38 38 applies to messages sent to users. 39 40 For per-client history to work, clients need to indicate their name. This can 41 be done by adding a "@<client>" suffix to the username. 39 42 40 43 # OPTIONS -
trunk/downstream.go
r188 r190 541 541 } 542 542 if j >= 0 { 543 network = rawUsername[j+1:] 543 if rawUsername[j] == '@' { 544 client = rawUsername[j+1:] 545 } else { 546 network = rawUsername[j+1:] 547 } 544 548 } 545 549 if i >= 0 && j >= 0 && i < j { 546 client = rawUsername[i+1 : j] 550 if rawUsername[i] == '@' { 551 client = rawUsername[i+1 : j] 552 } else { 553 network = rawUsername[i+1 : j] 554 } 547 555 } 548 556
Note:
See TracChangeset
for help on using the changeset viewer.