mirror of
https://github.com/moparisthebest/rswiki-book
synced 2024-11-22 09:02:16 -05:00
Update MediaWiki page '135 Protocol'
This commit is contained in:
parent
d6e4afa1d8
commit
5e8e21d45d
@ -53,6 +53,13 @@ This page refers to the RSC #135 client revision.
|
|||||||
(.begin-packet 6)
|
(.begin-packet 6)
|
||||||
(.end-packet)))
|
(.end-packet)))
|
||||||
|
|
||||||
|
;; Opcode: 7
|
||||||
|
(defn send-command [stream command] ; sends command to server e.g ::home, command arg is (.substring command 2)
|
||||||
|
(doto stream
|
||||||
|
(.begin-pacet 7)
|
||||||
|
(.putline command)
|
||||||
|
(.end-packet)))
|
||||||
|
|
||||||
;; Opcode: 10
|
;; Opcode: 10
|
||||||
(defn report-abuse [stream username]
|
(defn report-abuse [stream username]
|
||||||
(let [name (.substring username 12)
|
(let [name (.substring username 12)
|
||||||
|
Loading…
Reference in New Issue
Block a user