Fix kicking/banning not working

This commit is contained in:
Dpeta 2023-02-13 16:36:44 +01:00
parent ee0ca6f7ed
commit bd292b4d80
No known key found for this signature in database
GPG key ID: 51227517CEA0030C

View file

@ -1872,7 +1872,7 @@ class PesterMemo(PesterConvo):
self, "Ban User", "Enter the reason you are banning this user (optional):" self, "Ban User", "Enter the reason you are banning this user (optional):"
) )
if ok: if ok:
self.mainwindow.kickUser.emit(currentHandle, reason, self.channel) self.mainwindow.kickUser.emit(self.channel, currentHandle, reason)
@QtCore.pyqtSlot() @QtCore.pyqtSlot()
def opSelectedUser(self): def opSelectedUser(self):