Refactor Cipher related things.
authorBas Pape <baspape@gmail.com>
Thu, 31 Jan 2013 17:46:17 +0000 (18:46 +0100)
committerBas Pape <baspape@gmail.com>
Thu, 31 Jan 2013 17:46:17 +0000 (18:46 +0100)
commit3146ad01b5b29c30adcf0044a52b39aa7e5796d0
tree4a6519e504eaa57ff057e0da7d1fb8f923339c46
parent0e1b154f362e13c2c9009f842e3fd6d8e7c346fc
Refactor Cipher related things.

Instead of using a hash with set keys, set the key on the relevant
  CoreIrc{User,Channel}'s cipher member.
Let the cipher clear its own key (with appropriate checks elsewhere)
Instantiate a new IrcUser when necessary (a query with someone who does
  not share any channels with us means there is no IrcUser for the target
  until he says something)
src/core/cipher.cpp
src/core/coreircchannel.cpp
src/core/corenetwork.cpp
src/core/corenetwork.h
src/core/coreuserinputhandler.cpp
src/core/ircparser.cpp