X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=include%2Fanna%2Fdiameter%2Fstack%2FCommand.hpp;h=f09981ff3ec5394f88193ac001ea88d9bb94c765;hb=0c646b4aa99a84ef6976a51b6d4554aea11ded35;hp=5bf6d7b08e571e4fc6b1752c47d1f1eee25943fc;hpb=39033fd99e58e994a5e98c1060dcc79e0d81f9c9;p=anna.git diff --git a/include/anna/diameter/stack/Command.hpp b/include/anna/diameter/stack/Command.hpp index 5bf6d7b..f09981f 100644 --- a/include/anna/diameter/stack/Command.hpp +++ b/include/anna/diameter/stack/Command.hpp @@ -136,7 +136,6 @@ public: // set void initialize(const Dictionary *d = NULL) throw() { _initialize(d); } void setCode(const U24 & c) throw(anna::RuntimeException) { - if(c < 0) throw anna::RuntimeException("Negative command-code not allowed", ANNA_FILE_LOCATION); a_id.first = c; }