Ver Fonte

bin/darkirc: bots don't need history

Dastan-glitch há 3 anos atrás
pai
commit
98aa63cb9f
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      bin/darkirc/script/bots/irc.py

+ 1 - 0
bin/darkirc/script/bots/irc.py

@@ -18,6 +18,7 @@ class IRC:
 
         # Perform user authentication
         self.irc.send(bytes("CAP LS 302\n", "UTF-8"))
+        self.irc.send(bytes("CAP REQ :no-history\n", "UTF-8"))
         self.irc.send(bytes("NICK " + botnick + "\n", "UTF-8"))
         self.irc.send(bytes("USER " + botnick + " 0 * :" + botnick + "\n", "UTF-8"))