From c33d5ec60361238e50a4a9d6e0eec03e396dce60 Mon Sep 17 00:00:00 2001 From: kergoth Date: Sat, 09 Aug 2003 17:00:23 +0000 Subject: Merge from BRANCH_1_0 --- (limited to 'noncore/net/opieirc/ircsession.cpp') diff --git a/noncore/net/opieirc/ircsession.cpp b/noncore/net/opieirc/ircsession.cpp index 1cc1ee2..6404d71 100644 --- a/noncore/net/opieirc/ircsession.cpp +++ b/noncore/net/opieirc/ircsession.cpp @@ -60,6 +60,10 @@ void IRCSession::kick(IRCChannel *channel, IRCPerson *person) { m_connection->sendLine("KICK "+ channel->channelname() + " " + person->nick() +" :0wn3d - no reason"); } +void IRCSession::op(IRCChannel *channel, IRCPerson *person) { + m_connection->sendLine("MODE "+ channel->channelname() + " +ooo " + person->nick()); +} + void IRCSession::kick(IRCChannel *channel, IRCPerson *person, QString message) { m_connection->sendLine("KICK "+ channel->channelname() + " " + person->nick() +" :" + message); } -- cgit v0.9.0.2