Explorar el Código

bin/darkirc: bots don't need history

Dastan-glitch hace 3 años
padre
commit
98aa63cb9f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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"))