mirror of
https://github.com/gissleh/irc.git
synced 2026-10-15 17:42:53 +00:00
fix branch test, clean up mroleplay.
This commit is contained in:
@@ -52,9 +52,9 @@ func MRoleplay(event *irc.Event, client *irc.Client) {
|
||||
cuts := ircutil.CutMessage(text, overhead)
|
||||
|
||||
for _, cut := range cuts {
|
||||
npcCommand := "NPCA"
|
||||
if event.Verb() == "npcc" {
|
||||
npcCommand = "NPC"
|
||||
npcCommand := "NPC"
|
||||
if isAction {
|
||||
npcCommand = "NPCA"
|
||||
}
|
||||
|
||||
client.SendQueuedf("%s %s %s :%s", npcCommand, channel.Name(), nick, cut)
|
||||
|
||||
Reference in New Issue
Block a user