Changeset 98 in code
- Timestamp:
- Mar 13, 2020, 5:13:03 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 2 deleted
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/README.md
r91 r98 1 # jounce1 # soju 2 2 3 3 A user-friendly IRC bouncer. … … 11 11 ## Usage 12 12 13 sqlite3 jounce.db <schema.sql14 go run ./cmd/ jouncectl create-user jounce15 go run ./cmd/ jounce13 sqlite3 soju.db <schema.sql 14 go run ./cmd/sojuctl create-user soju 15 go run ./cmd/soju 16 16 17 Then connect with username ` jounce@chat.freenode.net` and join `#jounce`.17 Then connect with username `soju@chat.freenode.net` and join `#soju`. 18 18 19 19 ## Contributing … … 28 28 29 29 [mailing list]: https://lists.sr.ht/~emersion/public-inbox 30 [issue tracker]: https://todo.sr.ht/~emersion/ jounce30 [issue tracker]: https://todo.sr.ht/~emersion/soju -
trunk/bridge.go
r69 r98 1 package jounce1 package soju 2 2 3 3 import ( -
trunk/config/config.go
r77 r98 31 31 Hostname: hostname, 32 32 SQLDriver: "sqlite3", 33 SQLSource: " jounce.db",33 SQLSource: "soju.db", 34 34 } 35 35 } -
trunk/db.go
r95 r98 1 package jounce1 package soju 2 2 3 3 import ( -
trunk/downstream.go
r95 r98 1 package jounce1 package soju 2 2 3 3 import ( … … 411 411 Prefix: dc.srv.prefix(), 412 412 Command: irc.RPL_WELCOME, 413 Params: []string{dc.nick, "Welcome to jounce, " + dc.nick},413 Params: []string{dc.nick, "Welcome to soju, " + dc.nick}, 414 414 }) 415 415 dc.SendMessage(&irc.Message{ … … 426 426 Prefix: dc.srv.prefix(), 427 427 Command: irc.RPL_MYINFO, 428 Params: []string{dc.nick, dc.srv.Hostname, " jounce", "aiwroO", "OovaimnqpsrtklbeI"},428 Params: []string{dc.nick, dc.srv.Hostname, "soju", "aiwroO", "OovaimnqpsrtklbeI"}, 429 429 }) 430 430 // TODO: RPL_ISUPPORT -
trunk/go.mod
r96 r98 1 module git.sr.ht/~emersion/ jounce1 module git.sr.ht/~emersion/soju 2 2 3 3 go 1.13 -
trunk/irc.go
r96 r98 1 package jounce1 package soju 2 2 3 3 import ( -
trunk/ring.go
r59 r98 1 package jounce1 package soju 2 2 3 3 import ( … … 87 87 func (rc *RingConsumer) diff() uint64 { 88 88 if rc.cur > rc.ring.cur { 89 panic(" jounce: consumer cursor greater than producer cursor")89 panic("soju: consumer cursor greater than producer cursor") 90 90 } 91 91 return rc.ring.cur - rc.cur … … 96 96 func (rc *RingConsumer) Peek() *irc.Message { 97 97 if rc.closed { 98 panic(" jounce: RingConsumer.Peek called after Close")98 panic("soju: RingConsumer.Peek called after Close") 99 99 } 100 100 … … 113 113 msg := rc.ring.buffer[i] 114 114 if msg == nil { 115 panic(" jounce: unexpected nil ring buffer entry")115 panic("soju: unexpected nil ring buffer entry") 116 116 } 117 117 return msg -
trunk/server.go
r91 r98 1 package jounce1 package soju 2 2 3 3 import ( -
trunk/upstream.go
r97 r98 1 package jounce1 package soju 2 2 3 3 import (
Note:
See TracChangeset
for help on using the changeset viewer.