Provide CoreNetwork accessor for getting a cipher for a given target
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 29 Jul 2010 14:35:48 +0000 (16:35 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 29 Jul 2010 14:35:48 +0000 (16:35 +0200)
commit14281719026a2d9d30667f63f3659c2c4e7e0cca
tree318d68b1935ab1cdaa4f633088e9e8a918be5859
parent6f0a153a674317d77233139fc50a2985af86e36e
Provide CoreNetwork accessor for getting a cipher for a given target

Removes code duplication in encrypt()/decrypt(), which were performing
the same task, and will come in handy later.
src/core/corenetwork.cpp
src/core/corenetwork.h
src/core/coreuserinputhandler.cpp
src/core/ircserverhandler.cpp